> ## Documentation Index
> Fetch the complete documentation index at: https://speedypage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage domains

> How to change a domain's document root, enable Force HTTPS, and remove a domain from your cPanel account.

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.

<Steps>
  <Step title="Open the Domains page">
    Log in to cPanel through your [client area](https://my.speedypage.com) or at `yourdomain.com/cpanel`. Go to **Domains** and click **Domains**.
  </Step>

  <Step title="Select the domain">
    Find the domain in the list and click **Manage** in the Actions column.
  </Step>

  <Step title="Enter the new path">
    Under **New Document Root**, enter the new directory path relative to your home directory, for example `newsite.com`.
  </Step>

  <Step title="Save">
    Click **Update**.
  </Step>
</Steps>

<Warning>
  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.
</Warning>

<Note>
  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.
</Note>

## 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.

<Note>
  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](/web-hosting/nameservers) are set correctly.
</Note>

## Remove a domain

<Steps>
  <Step title="Open the domain management page">
    In the Domains list, click **Manage** next to the domain you want to remove.
  </Step>

  <Step title="Remove the domain">
    Click **Remove Domain**, then confirm by clicking **Yes, remove this domain**.
  </Step>
</Steps>

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.

<Warning>
  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.
</Warning>

<Note>
  You cannot remove your account's main domain. Contact support if you need to change it.
</Note>
