Change the primary domain, document root or remove a domain
Make a different domain the primary one, change which folder a domain serves, or delete a domain from a website.
What you can do
- Make an addon domain or alias the website's primary domain
- Change the document root of the primary domain, an addon domain or a subdomain
- Delete an addon domain, subdomain or alias
What you cannot do
- Delete the primary domain. The panel says "It's not possible to delete a primary domain" (Not available in the panel.) Instead: make another domain the primary first, or delete the whole website.
- Change an alias's document root (Not available in the panel.) Instead: delete the alias and add the domain again as an addon domain.
- Keep email addresses on a domain you delete. They are deleted with it (Not available in the panel.)
Open the website, select Domains, then open the menu at the end of a domain’s row. The menu offers Manage, Make primary (for addon domains and aliases) and Delete.
Change the primary domain
Section titled “Change the primary domain”This is how you “rename” a website to a new domain.
- Add the new domain to the website as an addon domain or alias. See Add a domain to a website.
- In the Domains list, open the new domain’s menu and select Make primary.
- Read the confirmation. If the website runs WordPress, you can tick Run search and replace after change to update the old domain to the new one in the site’s content.
- Select Make primary.
Notes:
- Your other domains are not automatically redirected to the new primary domain. Add a redirect if you want one. See Redirects.
- The old primary domain stays on the website as an extra domain until you delete it.
Change a document root
Section titled “Change a document root”The document root is the folder that holds a domain’s web pages. By default it is /public_html.
- Open the domain’s menu and select Manage.
- Under Document root, enter the new folder.
- Save the change.
The folder is inside the website’s home directory. Changing it does not move any files; move or upload your files into the new folder yourself.
Delete a domain
Section titled “Delete a domain”- Open the domain’s menu and select Delete.
- Confirm. The window warns that the domain “and any associated email addresses will be deleted from your website”.
Deleting a domain does not delete the files in its folder.
Checked against Enhance 12.28.0 on 2026-12-01: tested directly in the panel.