25. How to Set Up and Manage Subdomains in cPanel Print

  • 0

Subdomains allow you to organize your website into distinct sections or categories, making it easier to manage various aspects of your online presence. You can use subdomains for blogs, forums, shops, and other purposes. This article will guide you through the process of setting up and managing subdomains in cPanel.


Steps to Set Up and Manage Subdomains in cPanel:

  1. Log in to cPanel.

  2. In the Domains section, click on Subdomains.

  3. In the Create a Subdomain section, enter the desired subdomain name (e.g., blog if you want to create blog.yourdomain.com).

  4. Select the main domain from the drop-down list.

  5. The Document Root will auto-fill, but you can change it if needed (this is where the subdomain's files will be stored).

  6. Click Create.

Your subdomain is now created. You can upload content to the subdomain by navigating to its folder in File Manager or by connecting via FTP.


Managing Subdomains:

  • To edit or delete a subdomain, go to Subdomains in cPanel, where you’ll find a list of your existing subdomains. From here, you can manage them as needed.

  • You can also redirect a subdomain to another website or page. This can be done under Redirects in cPanel.


Use Cases for Subdomains:

  • Separate Website Sections: For instance, creating a subdomain for a blog (e.g., blog.yourdomain.com) or a forum (e.g., forum.yourdomain.com).

  • Localization: You can create subdomains for different languages or regions (e.g., fr.yourdomain.com for French speakers).

  • Staging or Development: Use a subdomain like staging.yourdomain.com to test changes before they go live.


Things to Keep in Mind:

  • Subdomains can also have their own dedicated content management systems (CMS) or software installations.

  • Remember that subdomains are essentially separate from the main domain in terms of SEO, so make sure to optimize them properly.

  • Subdomains are counted as part of your hosting package, so ensure that your hosting plan can handle additional traffic if you're planning on using many subdomains.


Was this answer helpful?

« Back