Skip to content
Host4u Limited

Domains in cPanel: addon domains, aliases and subdomains

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

You can have more than one website, or more than one name for a website, on one hosting account. In current cPanel they are all managed in one place: Domains (in the Domains section). You used to find Addon Domains, Aliases and Subdomains as separate icons.

The three types

Type What it does
Addon domain A different website on its own domain, with its own folder of files.
Alias An extra name for a website you already have: it shows the same content.
Subdomain A part of a domain, such as shop.example.com, usually with its own folder.

The number of addon domains you can have depends on your plan.

Adding a domain

  1. In cPanel, open Domains and click Create A New Domain.
  2. Under Registered Domain, enter the domain, for example example.co.uk. You do not need www. To create a subdomain, type its name followed by the domain it belongs to, for example shop.example.com.
  3. Decide about the folder:
    • Tick Share document root to make it an alias: it shows the same content as your main website. You cannot change this after you create the domain.
    • Leave it unticked to make an addon domain with its own folder. cPanel fills in a folder (the Document Root), which you can change.
  4. Click Submit.

If you do not have a domain name yet, choose Choose a domain later: a temporary domain lets you build and view the site before you add the real one.

The domain must also point to our servers to work: see Pointing your domain at your hosting.

Managing your domains

The Domains page lists each domain with its Document Root (its folder), whether it Redirects To somewhere, and a Force HTTPS Redirect setting. For each domain:

  • Manage lets you change the document root, or Remove Domain. Removing a domain takes it off your account for good, but does not delete its folder.
  • Create Email adds an email address on that domain: see Creating an email account.
  • From Manage you can also Create A Site With Sitejet Builder, or change the domain's redirects.

"domainadmin-domainexistsglobal" when adding a domain

This error means cPanel found something already using that name. Check, in this order:

  1. The Domains page: the domain or subdomain may already be added to your account.
  2. The DNS zone: open Zone Editor, click Manage next to the main domain, and look for a record for the subdomain or domain you are adding. A leftover record from an earlier setup can cause the error.
  3. If you find a record you no longer need, remove it, then add the domain again. If you do not know what a record is for, open a support ticket before deleting it.

If the domain is on another account on the same server, the error is expected, and only support can move it.

Redirects

To send one domain or page to another, use Redirects in the Domains section.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal