Primary domain in cPanel

The primary domain is the domain the hosting account was created for. It is shown in the account summary on the cPanel home page and marked "Primary Domain" in "Domains".

Primary domain in the account summary
Primary domain in the account summary
  • Files of the primary domain are in public_html.
  • Mailboxes, databases and FTP accounts can be created for any domain of the account, not only the primary one.
  • Other sites are added as addon domains (how to add a domain) or subdomains (how to add a subdomain).
Primary domain in the domain list
Primary domain in the domain list

How to change the primary domain

The primary domain cannot be changed in cPanel itself. Contact support from your client area with the old and the new domain. Before the change:

  • point the new domain to the hosting (hosting name servers or an A record to the account IP);
  • if the site runs WordPress or another CMS, change the site address in the CMS settings after the switch;
  • mailboxes of the old domain stay; create new ones for the new domain.

If you only need the site to open at one more address, you do not have to change the primary domain: add the second domain as an alias - domain alias.

Questions and answers
No, it cannot be changed in cPanel. Contact support with the old and the new domain.
In public_html.