Manage the Domain
Valid for versions 110 through the latest version
Version:
110
Last modified: December 10, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager).
Overview
Use this interface to manage the domain’s document root directory, remove the domain, or perform other actions.
To update your domain’s DNS records, use cPanel’s Zone Editor interface (cPanel » Home » Domains » Zone Editor). Contact your hosting provider to change any records that do not appear in cPanel’s Zone Editor interface.
You cannot update or renew a domain’s registration in cPanel. To find out how to update or renew a domain’s registration, contact your hosting provider or read our How to Identify Your Registrar documentation.
New document root
The domain’s document root directory defines the domain’s directory relative to the cPanel account’s home directory. For example, enter newdomain.com
in the New Document Root text box for a cPanel account that uses the /home/username
home directory. That domain’s files will reside in the /home/username/public_html/newdomain.com
directory.
- If you change this directory, the server searches for your files in a different location. The server does not rearrange your files in any way. You will need to move the files to the specified directory.
- You cannot change the document root directory for the Main Domain.
- You cannot modify the document root directory for domains that share that directory with the Main Domain.
To provide a new document root directory, perform the following steps:
- Enter a new path, relative to the user’s home directory.
- Click Update.
Domain information
This section contains the following information about the domain:
Item | Description | Example |
---|---|---|
Domain | The domain name. | example.com |
Redirects To | If the listed domain redirects to a different domain, the destination will appear here. Click a domain to visit the public-facing website. A new tab will appear. To manage redirects, use to cPanel’s Redirects interface (cPanel » Home » Domains » Redirects) |
|
Document Root | The directory that contains a domain’s publicly-available files. | /public_html |
Remove the domain
- We strongly recommend that you create a full account backup before you remove a domain. For more information about backups, read our Backup documentation.
- This action only removes the domain’s
vhost
entries and DNS entries. The server retains the domain’s directory and contents. - You cannot delete the Main Domain.
To remove the domain from the cPanel account, perform the following steps:
- Click Remove Domain.
- To confirm that you wish to remove this domain, click Yes, remove this domain.
Email accounts when you remove a domain
If you remove a domain that contains email accounts, those email accounts will not appear in the Email Accounts interface (cPanel » Home » Email » Email Accounts). However, the mail folders continue to exist on the server. If you add the domain again, the email accounts will reappear.
Additional Resources
In the Additional Resources section, you can select the following actions:
Action | Description |
---|---|
Create an Email Address | Add an email address to the website. The Create an Email Account interface (cPanel » Home » Email » Create an Email Account) will appear. |
Create a Site with Sitejet Builder | Quickly create a simple website, even if you have never created a website before. The Sitejet Builder interface (cPanel » Home » Domains » Sitejet Builder) will appear. |
Modify the Zones | Create, edit, and delete Domain Name System (DNS) records. The Zone Editor interface (cPanel » Home » Domains » Zone Editor) will appear. |
Modify the Redirects | Send all of the visitors of a domain or particular page to a different URL. The Redirects interface (cPanel » Home » Domains » Redirects) will appear. |