How to install WordPress on a subdomain
This article describes how to install WordPress on a subdomain using cPanel and Softaculous.
Step #1: Create a subdomain using cPanel
Before you can install WordPress, you must create the subdomain in cPanel. To do this, follow these steps:
- Log in to cPanel.
If you do not know how to log in to your cPanel account, please see this article
- In the Domains section of the cPanel home screen, click Subdomains.
- Under Create a Subdomain, type the name of the subdomain that you want to add in the Subdomain text box.
cPanel automatically fills in the document root path by using the subdomain name that you provide. This path is where the subdomain's files are stored.
. cPanel creates the subdomain.
Step #2: Install WordPress using Softaculous
After you create the subdomain, you're ready to install WordPress. To do this, follow these steps:
- In the Software/Services section of the cPanel home screen, click Softaculous. The Softaculous installer page appears.
- In the Search text box, type wordpress and then press Enter.
Alternatively, you can use the navigation pane on the left side. To do this, click Blogs, and then click WordPress.
- Click Install. The installation page appears.
- In the Choose Protocol list box, select the protocol.
If you have an SSL certificate installed on your site, select https:// or https://www. If you do not have an SSL certificate installed on your site, select http:// or http://www.
- In the Choose Domain list box, select the subdomain that you created in the previous procedure.
- Leave the In Directory text box blank.
- In the Database Name text box, type the name of the database to create for the application, or accept the default value.
- In the Table Prefix text box, type the database table prefix, or accept the default value.
- In the Site Name text box, type the site name. By default, the site name appears in the title bar of users' web browsers when they visit your site.
- In the Site Description text box, type the site description. By default, the site description also appears in the title bar of users' web browsers when they visit your site.
- In the Admin Username text box, type the administrator username.
- In the Admin Password text box, type the administrator password.
Make sure that you choose a strong password! The Softaculous installer provides a ranking for your password's strength, and turns green when the password is strong. Alternatively, you can click the
icon next to the Admin Password
text box, and Softaculous generates a strong, random password for you.
- In the Admin Email text box, type the site administrator e-mail address.
- In the Select Language list box, select the default language for the application.
- To limit the number of login attempts, select the Limit Login Attempts check box.
Limiting the number of login attempts can help increase the security of your WordPress installation.
- Click the icon to expand Advanced Options.
- If you do not want to receive e-mail notifications when application updates are available, select the Disable Update Notifications check box.
A2 Hosting strongly recommends that you receive e-mail notifications when application updates are available. Keeping your site updated helps prevent unauthorized access attempts and data loss.
- To automatically update the application when updates are available, select the Auto Upgrade check box.
- To receive site configuration information after the installation is complete, type an e-mail address in the Email installation details to text box.
- Review the installation options and settings, and then click
. When installation is complete, Softaculous provides information about the WordPress configuration.
- Use your web browser to visit the subdomain you created in the previous procedure. You should see the WordPress home page.
- WordPress articles
Learn all about how to install, configure, optimize, and extend the popular WordPress blogging platform.