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 GoDaddy product page.
- Under Web Hosting, next to the Linux Hosting account you want to use, click Manage.
- 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
- You can also modify, redirect, and delete subdomains from the cPanel Subdomains page. For help, see the cPanel Subdomains feature documentation.
Next step
- If your domain name is not in the same GoDaddy account as your hosting, you need to find your account's IP address and then add a subdomain to your domain name that points to it.
- Upload the subdomain website files to the Document Root you selected.