To be able to use multiple domain names or subdomains on your web hosting account, they first need to be added to the account. This guide describes how to do this.
Domains
To add a domain name to your web hosting account, follow these steps:
- Begin by logging on to cPanel.
- Click the icon
Domains
underDomains
. - Click the button
Create A New Domain
near the top right. - Enter the details of the new domain.
Fill in the information as follows:
Domain: Here you enter your new domain name, such as addondomain.com.
Document Root: Untick the box next to “Share document root…” and then specify the directory on your web hosting account that you want to use for the domain’s files. We usually recommend using a folder according to domains/addondomain.com (if it is the domain addondomain.com you are adding to the account).
Subdomain: cPanel uses a subdomain of the account’s primary domain to keep track of the added domain. You can use cPanel’s automatic suggestion that appears when you fill in the domain name above.
- Click the
Submit
button once you have entered the details of the domain. If you want to add more domains in sequence, you can use theSubmit and Create Another
button instead. - Once the domain is added, you will see a green box in the top right corner to confirm this.
Subdomains
To create a subdomain for a domain already added to your web hosting account, do the following:
- Begin by logging on to cPanel.
- Click the icon
Domains
underDomains
. - Click the button
Create A New Domain
near the top right. - Enter the details of the new subdomain.
Fill in the information as follows:
Domain: Here you enter your new subdomain’s name, such as subdomain.oderland-demo.se.
Document root: Make sure the checkbox next to “Share document root …” is unchecked and then enter the directory on your web hosting account that you want to use for the subdomain’s files. We usually recommend using a folder like domains/subdomain.oderland-demo.se (if it is the domain subdomain.oderland-demo.se you are adding to the account). - Click the
Submit
button once you have entered the details of the domain. If you want to add more domains in sequence, you can use theSubmit and Create Another
button instead. - Once the subdomain is added, you will see a green box in the top right corner to confirm this.