Learn How to Add a New Domain in cPanel
A complete step-by-step guide to adding an additional domain to your hosting account through cPanel.
If you have more than one domain and want to host another website under the same hosting package, you can add the new domain from cPanel. This feature allows you to manage multiple websites from one hosting account, as long as your hosting plan supports addon domains or multiple domains.
What Does Adding a New Domain in cPanel Mean?
Adding a new domain in cPanel means linking an additional domain name to your hosting account so it can display its own website content. This is commonly used when you want to host a second website without purchasing a separate hosting package.
How to Add a New Domain in cPanel
- Log in to your Account.
- Open your hosting service from the services section.
- Click Login to cPanel.
- Inside cPanel, go to the Domains section.
- Click Domains or Create A New Domain, depending on your cPanel version.
- Enter the new domain name you want to add, for example: example.com.
- If the system automatically creates a document root, you can keep the suggested folder or customize it if needed.
- If you want the new domain to have its own separate website files, leave it assigned to its own document root folder.
- Click Submit, Add Domain, or Create, depending on the cPanel interface.
- Once the domain is added successfully, you can upload your website files to the assigned document root folder using File Manager or FTP.
Where Should You Upload Website Files?
After adding the domain, cPanel creates or assigns a folder called the document root. This is the folder where the website files for that domain must be uploaded.
For example, if the document root is set to /public_html/example.com/, then your website files such as index.html or index.php should be placed inside that folder.
Important DNS and Nameserver Note
Adding the domain inside cPanel is only one part of the setup. The domain must also point to the correct hosting server using the proper nameservers or DNS records. If the DNS has not been updated yet, the website may not load immediately even if the domain was added successfully.
Common Reasons Why a New Domain Does Not Work
- The domain is not pointed to the correct nameservers.
- DNS propagation is still in progress.
- The domain was added to the wrong document root folder.
- No website files were uploaded yet.
- Your hosting plan does not support multiple domains.
Frequently Asked Questions
Can I add more than one domain in cPanel?
Yes, if your hosting plan supports multiple domains.
Do I need a separate hosting plan for each domain?
No, not always. You can host multiple domains under one hosting package if your plan allows it.
Do I need to update nameservers before adding the domain?
You can add the domain in cPanel first, but the website will only start working properly after the DNS or nameservers point to the correct server.