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.
- 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.
Note: 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.
- Click Create. 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 SOFTACULOUS APPS INSTALLER section of the cPanel home screen, click any of the options under Categories. The Softaculous installer page appears.
Note: It does not matter which option you click under Categories. All of them start the Softaculous installer.
- 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.
Note: 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.
Note: 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 Random Password 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 Advanced Options 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.
- 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 Install. 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.