How Do I Add and Manage Subdomains in cPanel?

Adding a subdomain in cPanel is a straightforward process. Here's how you can do it:

  1. Log in to cPanel:

    • Access your cPanel account. You typically do this by navigating to http://yourdomain.com/cpanel and entering your cPanel username and password.
  2. Locate the "Domains" Section:

    • In cPanel, find the section labeled "Domains." This section may be displayed differently based on the cPanel theme your hosting provider uses.
  3. Access Subdomains:

    • Look for an option called "Subdomains" or something similar within the "Domains" section. Click on it to proceed.
  4. Add a Subdomain:

    • On the "Subdomains" page, you should see a form where you can add a new subdomain.
      • Subdomain: Enter the name of your subdomain (e.g., blog if you want blog.yourdomain.com).
      • Domain: This should auto-fill with your main domain name.
      • Document Root: cPanel will automatically suggest a directory path where the files for your subdomain will be stored. You can usually leave this as it is or specify a different path if needed.
  5. Create the Subdomain:

    • After filling in the details, click on the "Create" button or "Add Subdomain" to create your new subdomain.
  6. Confirmation:

    • cPanel will confirm that your subdomain has been created successfully. You should see a message indicating the creation of the subdomain.
  7. Manage Subdomain Settings (Optional):

    • If needed, you can manage additional settings for your subdomain such as redirects, DNS settings, or SSL certificates. These options are usually available from the same "Subdomains" section in cPanel.
  8. Test Your Subdomain:

    • Once the subdomain is created, you can test it by entering the subdomain URL (e.g., http://subdomain.yourdomain.com) in your web browser to ensure it resolves correctly.

Adding a subdomain in cPanel is user-friendly, and the interface guides you through each step. If you have specific requirements or encounter any issues, you can refer to cPanel's documentation or contact your hosting provider's support for assistance tailored to their setup.

Did you find this article useful?