Skip to main content
The Domains interface in cPanel lets you manage each domain on your account. You can change where a domain’s files are stored, force HTTPS, and remove domains you no longer need.

Change the document root

The document root controls which directory the server uses to serve a domain’s files. You might change this when reorganizing your sites or moving a domain to a new directory.
1

Open the Domains page

Log in to cPanel through your client area or at yourdomain.com/cpanel. Go to Domains and click Domains.
2

Select the domain

Find the domain in the list and click Manage in the Actions column.
3

Enter the new path

Under New Document Root, enter the new directory path relative to your home directory, for example newsite.com.
4

Save

Click Update.
Changing the document root does not move your files. You need to move them to the new directory yourself using File Manager or FTP, or the domain will show an empty or missing page.
You cannot change the document root for your main domain, or for domains that share their document root with the main domain. To give a shared domain its own directory, remove it and re-add it with a separate document root.

Force HTTPS

The Force HTTPS toggle redirects all HTTP traffic to HTTPS for a given domain. This is the simplest way to make sure visitors always use the secure version of your site. To enable it, find the domain in the Domains list and set the Force HTTPS Redirect toggle to On. To disable it, set the toggle to Off. You can also enable or disable Force HTTPS for multiple domains at once by selecting the checkboxes and clicking Force HTTPS Redirect On or Force HTTPS Redirect Off at the top of the table.
Force HTTPS requires a valid SSL certificate. All domains on SpeedyPage receive a free AutoSSL certificate automatically. If the toggle is unavailable, the certificate may not have been issued yet — check that your domain’s nameservers are set correctly.

Remove a domain

1

Open the domain management page

In the Domains list, click Manage next to the domain you want to remove.
2

Remove the domain

Click Remove Domain, then confirm by clicking Yes, remove this domain.
Removing a domain deletes its DNS records and server configuration, but the domain’s files remain on disk in their original directory. You can delete them manually through File Manager if you no longer need them.
If the domain has email accounts, those accounts will no longer appear in the Email Accounts interface after you remove the domain. The mailbox data is not deleted — if you add the domain back to your account, the email accounts will reappear with their messages intact.
You cannot remove your account’s main domain. Contact support if you need to change it.