How to Add an Additional Domain, Alias, or Subdomain
In cPanel, under Domains, you can add an additional domain, an alias, or a subdomain to your hosting account using the Create A New Domain button. Before creating it, decide what you want to achieve: the new domain can display the same site as your primary domain or have its own independent content.
What you can create and when to choose each option
The same form works for all four cases. The Share document root checkbox determines the result:
Goal | What to do | Result |
|---|---|---|
Display the same site under another domain, for example, a different extension of the same name | Leave Share document root checked | The new domain serves the same content as the primary domain: it works as an alias |
Publish a different site under another domain | Uncheck Share document root | An independent site with its own file directory |
Add a section under your primary domain | Enter the subdomain in the Domain field | A subdomain for an existing domain |
Set up the site before you have the final domain | Select Choose a domain later | A temporary domain for building and viewing your site before adding a registered domain |
Before you begin
You need access to cPanel. If you don't have the login details, see how to log in to cPanel.
The domain must be registered. You don't need to transfer it to Duplika: for it to work, it must be pointed to Duplika DNS.
Each plan allows a certain number of domains: the Total Domains counter includes the primary domain and any additional domains. Review your plan resource limits.
Go to the Domains tool
Log in to cPanel using your hosting account credentials.
On the home page, under Domains, click Domains. The sidebar shows how many subdomains and alias domains you have in use.
Click Create A New Domain. In the list, your primary domain is labeled Main Domain, and each domain shows its document root, redirect, and HTTPS redirect status.
Complete the form
Choose the domain type. Registered Domain adds a registered domain as an additional domain or alias, and also lets you create a subdomain for an existing domain. Choose a domain later creates a temporary domain so you can build and view your site before adding a registered domain.
In Domain, enter the name without www at the beginning, as shown in the field's example. For a subdomain, enter the section you want to add, followed by your primary domain.
Choose whether the domain shares the primary site's content
The Share document root checkbox determines whether the new domain displays the same site as your primary domain or an independent one:
Same site (alias): leave it checked. The new domain serves the same content as the primary domain. This is the usual choice when adding another extension of the same name and you want it to display your primary domain's content.
Independent site: uncheck it. The Document Root (File System Location) field appears, and cPanel fills it in with a folder named after the new domain. We recommend keeping the default folder to keep the new site's files outside public_html, where the primary domain's files are stored.
The form warns you that you can't change this setting after creating the domain. To switch from an alias to an independent site, or vice versa, you must delete the domain and create it again.
Save the domain
When the fields are ready, click the blue Submit button. If you're creating multiple domains, Submit And Create Another saves the current one and opens the form again.
After creating the domain
The domain is created in your account, but it must point to your hosting account to work:
Point the domain to Duplika DNS if you haven't already.
DNS changes can take anywhere from a few minutes to 72 hours or longer. See how to check DNS propagation.
All hosting plans include SSL for the account's domains and subdomains. AutoSSL issues the certificate when the domain points to the server, either by being pointed to our DNS servers or by having an A record pointed to the IP address. See the AutoSSL guide.
Frequently asked questions
What's the difference between an alias and an additional domain?
You create both using the same form; the difference is the Share document root checkbox. When checked, the domain works as an alias and serves the same content as the primary domain. When unchecked, it's an additional domain with its own directory and content.
Can I switch from an alias to an independent site after creating it?
Not in the form, because the setting is fixed when you create the domain. To host different content, delete the domain and create it again with the checkbox unchecked. If you'd like us to review it with you, write to us.
How many domains can I add?
It depends on your plan. The Total Domains counter includes the primary domain and any additional domains: for example, the Essential plan allows 2 additional domains (3 in total). See the full table under hosting resource limits.
Can I add a domain pointed to another DNS provider?
The usual approach is to point it to Duplika DNS before creating it. If your domain uses another provider's DNS and an error appears when you try to create it, write to us so we can review the options for your account.