To create a subdomain in cPanel, follow these steps:
-
Log in to cPanel:
- Access your cPanel by navigating to
yourdomain.com/cpaneloryourdomain.com:2083. - Enter your username and password to log in.
- Access your cPanel by navigating to
-
Navigate to the Domains Section:
- In the cPanel dashboard, locate the Domains section.
- Click on Domains.
-
Create a New Domain:
- Click on the Create A New Domain button.
-
Enter Subdomain Details:
- In the Domain text box, enter the desired subdomain name (e.g.,
subdomainif you wantsubdomain.yourdomain.com). - Deselect the option "Share document root (/home/username/public_html) with 'yourdomain.com'".
- Specify the directory where you want the files for this subdomain to reside.
- In the Domain text box, enter the desired subdomain name (e.g.,
-
Submit the Form:
- Click the Submit button to create the subdomain.
After completing these steps, your subdomain will be created and ready for use.