How to create a subdomain

A subdomain is an extra address that starts in front of your domain, such as shop.yourdomain.com or blog.yourdomain.com. It is a handy way to run a separate part of your site.

Steps

If your cPanel uses the Jupiter theme

  1. Log in to cPanel and open Domains > Domains.
  2. Click Create A New Domain.
  3. In the Domain box, type the full subdomain, for example shop.yourdomain.com.
  4. To give it its own folder, leave the share document root option unticked. cPanel suggests a folder. You can keep the suggestion.
  5. Click Submit.

If your cPanel uses the Meridian theme

  1. Log in to cPanel and click Websites in the left sidebar.
  2. Click Add Website.
  3. Choose Create a subdomain, then click Continue. Enter the subdomain, for example shop.yourdomain.com.
  4. On the How do you want to build? step, choose Custom Code if you will upload your own files, then click Continue.
  5. Confirm your selection and click Launch My Website.
  6. Upload the subdomain's files to its website folder. To find that folder, click Manage next to the subdomain and check the Overview tab.

Subdomain or folder?

A subdomain such as shop.yourdomain.com is treated by search engines and browsers as a separate site, and it can run its own software. A folder, such as yourdomain.com/shop, shares everything with the main site. Use a subdomain when you want to run a different system alongside your main website, or when another service asks you for one.

Tips and troubleshooting

  • Subdomains work immediately for you because they are on your own server, but allow a little time for DNS to catch up for everyone else.
  • Upload your subdomain's files to the folder shown in the Document Root column.
  • You cannot rename a subdomain. If you need a different name, create a new one and delete the old one.
  • Your SSL certificate is normally added automatically. Check Security > SSL/TLS Status after a few hours.
  • To point a subdomain at another service, such as an online store or booking system, you may need a CNAME record. See our article on the Zone Editor.

Need help? Contact Barrett IT Support at support@barrettit.com or call 888.374.4632.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add an addon domain

An addon domain lets you run another website with its own domain name from the same hosting...

How to set up a redirect

A redirect sends visitors from one web address to another. Use one when you move a page, change...

How to force your website to use HTTPS

HTTPS is the secure version of your website address. Browsers show a padlock for it and warn...

DNS Zone Editor basics: view and add A and CNAME records

DNS records tell the internet where your website, email, and other services live. You sometimes...

How to add MX and TXT records for email services or domain verification

Note: These steps apply only if your email is hosted with Barrett IT on cPanel. If your email...