How to Create a Subdomain in cPanel

Posted by admin 03/29/2016 0 Comment(s)

Creating a Subdomain in cPanel


 


Subdomains are prefixes that you add to your main domain to create a new destination on your hosting account.


 


For example, if your domain name is "greenwidgets.com" then a possible subdomain could be "buy.greenwidgets.com".  Adding a subdomain will give you the option to add separate content to your site while staying on your domain.  Here's how:


 



  1. Login to cPanel

  2. Using the search feature, type subdomain and you should see it auto-populate the search results so you can select it.

  3. Fill in your details:



  • Subdomain:  this will be your prefix

  • Domain: if you have more than one domain on your account, select the one you want to append to

  • Document Root: this will auto-populate with the prefix. This tells you where to upload files that you want to appear in your subdomain.



  1. Click Create



 


You'll now see your new subdomain listed in the list below the form:


 



 


You'll see 5 columns here:


 


Subdomains.Root Domain:  This is just the name of the subdomain(s) created


Document Root: This is where files for that sub-domain are stored in your file manager


Redirection: This is useful if you need a portion of your site to direct somewhere else, perhaps an affiliate link?  You can enter that here.


Actions: Here you can delete the subdomain


Manage Redirection: Use this to change the destination of the subdomain


 


Adding a subdomain can be very useful for additions such as blogs, PPC landing pages, resource sections (downloads.greenwidgets.com). Subdomains are not recommended as a main landing page or anything you hold in high esteem for SEO purposes.  If you want to create separate sections, it's better to use subfolders:


 


http://greenwidgets.com/vintage


 


vs. a subdomain:


 


http://vintage.greenwidgets.com


 


....even though it, arguably, is prettier.


 

Leave a Comment