One hosting account can run more than one website. With cPanel you can attach a second, third or tenth domain to the same plan, give each its own folder and email, and manage them all from one login. This guide shows you how to add a domain the right way, connect it with DNS, put HTTPS on it and avoid the mistakes that make the wrong site appear.
By the end you will know which domain type to pick, how to create it in the current cPanel interface and how to check that it works before you tell anyone about it.
Domain types in cPanel
cPanel knows four kinds of domain, and choosing the right one up front saves a lot of untangling later.
| Type | Folder | Typical use |
|---|---|---|
| Main domain | public_html | The domain the account was created with |
| Addon domain | Its own folder | A separate website on the same account |
| Alias | Shares the main domain's folder | Another name for the same site, for example a misspelling or a second extension |
| Subdomain | Its own folder | A section such as shop.example.com or staging.example.com |
Older cPanel versions had separate pages called Addon Domains, Parked Domains and Subdomains. The current Jupiter theme merges them into a single Domains page. An addon domain is now simply a domain that does not share the main document root, and an alias is one that does. If you are new to the control panel itself, start with what cPanel is and how it is laid out.
Note: Your plan decides how many domains you can attach. Look at the statistics column on the cPanel home page to see how many you have used.
Before you start
Check three things before you open cPanel:
- You control the domain. It must be registered, and you need to be able to change its nameservers or DNS records at the registrar.
- It isn't already in use on the same server. A domain can only belong to one cPanel account per server. If it was added somewhere else earlier, remove it there first.
- You have picked a folder name. Using the domain itself, such as
example.net, keeps things readable when you have several sites.
If the domain already handles email elsewhere, write down its current MX and TXT records now. You will need them if you move the DNS.
Create the domain in cPanel
- Log in to cPanel and open Domains › Domains.
- Click Create A New Domain.
- In Domain, type the bare domain in lowercase:
example.net. Leave outwww.andhttps://. - Untick Share document root (/home/USERNAME/public_html) with "example.com". If you leave it ticked, you create an alias instead of a separate site.
- Check the Document Root field. cPanel suggests a folder name based on the domain; change it if you want something else.
- Click Submit.
The domain now appears in the domain list with its document root next to it. Open Files › File Manager, go to the new folder and create a simple index.html so you have something to test with. Our File Manager guide covers uploading and editing files in detail.
Tip: Put addon domain folders next to
public_html, not inside it (for example/home/USERNAME/example.net). A folder insidepublic_htmlinherits the main site's.htaccessrules and can be reached asexample.com/example.net/, which is rarely what you want.
Point the domain to your hosting
The domain exists in cPanel, but the internet doesn't know about it until DNS points to your hosting. You have two options.
Option A — change the nameservers (simplest). At your registrar, set the domain's nameservers to the ones in your hosting welcome email. cPanel then hosts the whole DNS zone, and you edit records under Domains › Zone Editor.
Option B — keep your current DNS provider. Leave the nameservers alone and create A records that point to your hosting's IP address. You find the address under General Information on the cPanel home page.
example.net. 3600 IN A YOUR_SERVER_IP
www.example.net. 3600 IN CNAME example.net.
Changes can take from minutes to a day or two to reach every resolver, depending on the old records' TTL. Check from your own computer:
dig +short example.net
dig +short www.example.net
nslookup example.net
When both names return your hosting IP, the new site should load. Our guide on pointing a domain to your server explains records and TTL in more depth.
Warning: Switching nameservers moves the entire zone. If the domain receives email at another provider, recreate its MX, SPF and other TXT records in Zone Editor before you switch, or mail will stop arriving.
Add HTTPS and email
SSL. cPanel's AutoSSL issues free certificates for domains that resolve to the account. It runs on a schedule, so a new domain usually gets covered on its own once DNS is live. To speed things up, open Security › SSL/TLS Status, select the domain and click Run AutoSSL. When the certificate is in place, go back to Domains and switch on Force HTTPS Redirect for the domain. The SSL and HTTPS guide walks through this step by step.
Email. Open Email › Email Accounts, click Create and choose the new domain from the drop-down. Then check Email › Email Deliverability, which shows whether SPF and DKIM are set up correctly for each domain.
WordPress or another CMS. Install it into the new domain's folder and give it its own database and database user. Separate databases make backups simpler and limit the damage if one site is ever compromised.
Note: All domains on one account share the same CPU, memory and disk allowance. A busy shop on an addon domain can slow down the main site, so keep an eye on resource usage as you add sites.
When to use an alias instead
Use an alias when two domains should show exactly the same website: example.com and example.dk, or a common misspelling. Create it the same way but leave Share document root ticked.
For search engines, it is better that one domain is the "real" one and the other forwards to it with a 301 redirect. Otherwise Google may see two copies of the same site. Our guide to redirects in cPanel shows how to send the alias to the main domain while keeping the path.
Manage or remove a domain
On Domains › Domains, click Manage next to a domain to change its document root or redirect settings. To detach it, use Remove Domain on the same page.
Removing a domain does not delete its folder, databases or mailboxes. That protects you from accidents, but it also means leftovers quietly use disk space. Take a backup, remove the domain, then delete what you no longer need.
Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| "The domain already exists" | Domain is attached to another account on the server | Remove it there, or ask support to free it |
| The main site appears on the new domain | Domain was created as an alias, or document root is wrong | Check Manage; recreate without Share document root |
| Old site or a parking page still shows | DNS hasn't updated, or it points elsewhere | Compare dig +short with the IP in General Information |
| No SSL certificate | DNS doesn't point to the hosting yet, or a CAA record blocks the issuer | Fix DNS, then run AutoSSL again |
Certificate check fails for www | www record missing | Add the A or CNAME record for www |
While waiting for DNS you can test the site by adding a line to your computer's hosts file, so only your machine sees the new address:
YOUR_SERVER_IP example.net www.example.net
On Linux and macOS the file is /etc/hosts; on Windows it is C:\Windows\System32\drivers\etc\hosts. Remove the line again when you are done.
In short
- Use Domains › Create A New Domain and untick Share document root to get a separate website.
- Keep each site's folder outside
public_html. - Point DNS with nameservers or A records, then confirm with
dig. - Run AutoSSL, force HTTPS and create mailboxes for the new domain.
- Removing a domain leaves its files behind — clean up deliberately.
Hosting several sites with Hostigan
Every Hostigan web hosting plan comes with cPanel, so you can add domains, mailboxes and certificates yourself. Need a new name for your next project? You can register it alongside your hosting under domains.
Frequently asked questions
It depends on your hosting plan. The limit is shown in the statistics panel on the cPanel home page, usually as Addon Domains, and cPanel refuses new domains once you reach it.