How to Add a Subdomain in cPanel Print

  • cpanel, subdomain, subdomains
  • 0

To create a subdomain, you will need to log into cPanel. If you need help remembering your cPanel details, please follow these instructions to view your welcome email containing this information.

Adding a subdomain in cPanel allows you to create separate sections of your website with their own unique URLs. Follow these steps to add a subdomain in cPanel:

Step-by-Step Guide:

  1. Log in to your cPanel account:

    • Open your web browser and navigate to your cPanel login page.
    • Enter your username and password to access the cPanel dashboard.
       
  2. Locate the Subdomains feature:

    • In the cPanel dashboard, scroll down to the "Domains" section.
    • Click on the "Subdomains" icon.
       
  3. Create a new subdomain:

    • In the "Create a Subdomain" section, enter the desired subdomain name in the "Subdomain" field.
    • Select the primary domain from the dropdown menu if you have multiple domains.
    • The "Document Root" field will automatically populate based on the subdomain name. You can modify this if needed.
       
  4. Finalize the creation:

    • Click the "Create" button to add the subdomain.
    • cPanel will create the subdomain and its corresponding directory in your home directory.
       
  5. Upload files to the subdomain:

    • After the subdomain is created, it will appear in the "Modify a Subdomain" section at the bottom of the Subdomains page.
    • The document root directory for the subdomain will be listed with the subdomain's name (e.g., /public_html/subdomain.com or in the user root directory). Upload your website files to this directory.
    • You can use the File Manager or FTP to upload content to the subdomain’s directory.
       

Additional Information:

  • DNS Propagation:

    • It may take some time for the subdomain to propagate across the internet. Typically, this process takes a few minutes to a few hours.
  • SSL Certificate:

    • Ensure that your new subdomain is secured with an SSL certificate. You can add an SSL certificate using the "SSL/TLS" feature in cPanel.

Troubleshooting:

  • If you encounter any issues while creating a subdomain, check the following:

    • Ensure the subdomain name is valid and not already in use.
    • Verify that the document root does not conflict with existing directories.

If you have any issues setting up the DNS record, please don't hesitate to contact our support department for further assistance or refer to the official cPanel documentation.


Looking for reliable Linux hosting with Award Winning Customer Support?
Grab your hosting today with a 20% discount. All plans come with our 60 Money Back Guarantee!

Check out our plans & promotions on our website -- https://www.peopleshost.com/


Was this answer helpful?

« Back