Add a subdomain to my Linux Hosting account
Subdomains let you create memorable addresses and easy ways to access areas of your website. For example, you could create a subdomain for pictures on your site called "pics" that is accessible through the URLs "pics.coolexample.com" and "www.coolexample.com/pics".
There are a few things to know about using subdomains:
- A subdomain must be a subdomain of another domain name on your Linux Hosting account - for example, if you've got "coolexample.com", you can add "pics.coolexample.com".
- Subdomain website files are stored in a different directory than the main domain website files.
- Go to your Heart Internet customer area and select cPanel Hosting.
- Select the your desired cPanel hosting account and select Login.
- In the account Dashboard, click cPanel Admin.
- In the cPanel Home page, in the Domains section, click Subdomains.
- In the cPanel Subdomains page, enter just the Subdomain name - for example pics.
- Make sure the main Domain is selected.
- Leave the Document Root set to the default. This keeps the subdomain files in a separate directory from the main domain files.
Note: If you know that you want the subdomain files to be in a different directory than the default, change the Document Root.
- Click Create. cPanel creates the subdomain and it appears in the Modify a Subdomain list.
Related steps
Article ID: 864
Created On: Wed, Jun 3, 2020 at 10:28 PM
Last Updated On: Wed, Jun 3, 2020 at 10:28 PM
Online URL: https://www.heartinternet.uk/support/article/add-a-subdomain-to-my-linux-hosting-account.html