How to add a sub-domain in Cpanel Print


When developing your website you may want to add 'sub-domains' within the original domain of your website (the original domain being the overall URL of your website i.e. www.petersweb.me.uk). Adding sub-domains into your website can aid you in making certain areas of your site more memorable and make them stand out to an audience. A quick example would be to add a sub-domain for a picture or image area of your website (if we added this theoretical sub-domain to Peters Web it would look  something like this - www.pics.petersweb.me.uk). It's possible to add up to 2 sub-domains to your original domain with our Blogger package, add to 5 sub-domains on our Intermediate package and up to 10 sub-domains with our Mega package, I have listed some steps to follow should you wish to add a sub-domain within your website - just to note that the process to add the sub-domain would take place within cPanel: -

  1. Login to your cPanel
  2. Find the sub domain option
  3. Enter the desired prefix in the Subdomain text box.
  4. Select the desired main domain from the menu.
  5. Enter the home floder for the subdomain in the Document Root text box. (note this can be a new folder) 
  6. Click Create.

If you are using Cloudflare you will need also to add a DNS record there by doing the following:

  1. Login to Cloudflare
  2. Click on your domain, then DNS
  3. Copy the record details from your cPanel Zone editor, this will give you the information for step 4
  4. Select the record type from the record type drop-down on the left-hand side. A subdomain will either be an A or CNAME record type.
  5. Click Add Record, if this record is an A record use the orange cloud

As you can see its pretty straight forward to add the new sub-domain. If you should have any issues or have any questions regarding this topic please contact us via a support ticket (open a ticket) with our hosting department and we will get back to you as soon as possible.


Was this answer helpful?

  • Tagged in cPanel, subdomain, domains
« Back

Powered by WHMCompleteSolution