A subdomain allows you to create a separate section of your website using your existing domain name.
For example, if your main website is:
example.com
you could create a subdomain such as:
shop.example.com
or:
support.example.com
Subdomains are useful when you want to keep part of a website separate from the main site, create a development area, host a different application, or organise content into different sections.
Log in to your cPanel account.
Go to the Domains section.
Click Domains.
Click Create A New Domain.
Enter the full subdomain you would like to create, for example:
shop.example.com
cPanel may automatically suggest a document root for the new subdomain.
The document root is the folder where files for the subdomain will be stored.
For example:
public_html/shop
If cPanel displays an option to Share document root, make sure this is disabled if you want the subdomain to have its own separate website or files.
Once created, cPanel will configure the domain and document root for you.
After creating the subdomain, you can upload website files using File Manager, FTP or SFTP.
If your document root is:
public_html/shop
you would upload the files for shop.example.com into that directory.
You can access File Manager by going to:
cPanel > Files > File Manager
Open the directory assigned to your subdomain and upload your website files there.
A subdomain can also be used for a separate WordPress installation.
For example:
blog.example.com
could run its own WordPress website independently of the main website at example.com.
If your hosting account includes a WordPress installer or WordPress management tools, you can normally select the new subdomain when installing WordPress.
If your domain is using the DNS provided with your hosting account, cPanel will normally create the required DNS record automatically.
However, if your DNS is managed externally, such as through another DNS provider, you may also need to create a DNS record for the subdomain there.
DNS changes may take some time to propagate.
Once the subdomain has been created and its DNS is pointing correctly to the hosting server, cPanel's automatic SSL system will normally attempt to issue an SSL certificate for it.
It may take a little while before HTTPS becomes available.
You should then be able to access the subdomain using:
https://shop.example.com
If the subdomain does not work immediately, check:
If you are unsure which document root to use or your subdomain is not loading correctly, please contact our support team and we can help check the configuration.