Domains

Domains

Overview

Use this interface to create and manage multiple domains from a single cPanel account.

Create a New Domain

To create a domain, perform the following steps:

  1. Click Create a New Domain. A new interface will appear.

  2. Enter a fully qualified domain name in the Domain text box.

    • To create a new domain, enter the new domain name. For example,example.com.

    • To create a subdomain, enter a new name followed by a period (.) and then the website’s domain. For example, enter subdomain.example.com to create a subdomain of example.com. This domain will also appear in cPanel’s Subdomains interface (cPanel >> Home >> Domains >> Subdomains)

  3. Optionally, you can specify the directory where you want the files for the domain to exist (the domain’s document root). To create this directory, deselect the Share document root with “example.com” checkbox, where example.com represents your main domain.

    • Domains that share the document root will also appear in cPanel’s Aliases interface (cPanel >> Home >> Domains >> Aliases).

    • Domains that do not share the document root will also appear in cPanel’s Addon Domains interface (cPanel >> Home >> Domains >> Addon Domains) and the Subdomains interface (cPanel >> Home >> Domains >> Subdomains).

  1. To automatically redirect the new domain’s visitors from the insecure version of the website to the secure version, set the Force HTTPS Redirect toggle to On.

  2. Click Submit or click Submit and Create Another Domain.

List Domains

This interface lists your domains.

  • Domain

    • Click Domain to sort the list alphabetically by account name.

    • Click an individual domain to visit the public-facing website.

Document Root

  • Click Document Root to sort the list alphabetically by relative directory paths.

  • Click the home icon () or the file path to navigate to the File Manager interface (cPanel >> Home >> Files >> File Manager) for that domain. A new interface will appear.

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

Force HTTPS Redirect

  • To automatically redirect the new domain’s visitors from the insecure version of the website (HTTP) to the secure version (HTTPS), set the toggle to On.

  • To disable redirection to the secure version of the website, set the toggle to Off.

  • Actions

    • Manage — To manage additional settings, click Manage. A new interface will appear.

    • Create Email — To create email addresses for the domain, click Create Email. The Email Accounts interface (cPanel >> Home >> Email >> Email Accounts) will appear.

  • Show Associated Subdomains — To show subdomains that the system automatically creates, perform the following steps:

    1. Click the gear icon ().

    2. Click Show Associated Domains.

Manage

Use the Manage the Domain interface to manage the domain’s document root directory, remove the domain, or perform other actions. From the Additional Resources menu, you can select the following actions to perform in a new browser tab:

  • Create an Email Address — Add an email address to the website.

  • Create a Site with Site Publisher — Quickly create a simple website, even if you have never created a website before.

  • Modify the Zones — Create, edit, and delete Domain Name System (DNS) records.

  • Modify the Redirects — Send all of the visitors of a domain or particular page to a different URL.

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.

To provide a new document root directory, perform the following steps:

  1. Enter a new path, relative to the user’s home directory.

  2. Click Update.

Remove the domain

To remove the domain from the cPanel account, perform the following steps:

  1. Click Remove Domain.

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

Leave a Comment

Your email address will not be published. Required fields are marked *