How to Add a Subdomain in cPanel

Subdomains are URLs for different sections of your website. They use your main domain name and a prefix. For example, if your domain is testdomain.com, a sub-domain of your domain might be support.testdomain.com. We will be using this as an example throughout this walk through.

Creating a Sub Domain

  1. To create a subdomain in cPanel, first log in to cPanel.
  2. Scroll down to the "Domains" section of your cPanel and select "Sub Domains":
    CPanel-subdomains.png
  3. Fill in the subdomain you would like to create, in this example we are creating support.testdomain.com. The document root section will fill in automatically, you may change this if you would like - in most cases the default is fine. Click the "Create" button and the sub domain will be created for you.
    CPanel-create-subdomain.png
  4. Click the "Go Back" button to return to sub domain management. Your subdomain will now be listed and is ready for files to be uploaded.
    CPanel-subdomain-create.png

Redirecting a Sub Domain

You may also create subdomains that redirect to another site. In this example we will be making support.testdomian.com a redirect to frii.com.

  1. To create a redirect in cPanel,first log in to cPanel.
  2. Scroll down to the "Domains" section of your cPanel and select "Sub Domains":
    CPanel-subdomains.png
  3. In the "Modify a Subdomain" section of cPanel, click the link "Manage Redirection".
    CPanel-subdomain-redirect.png
  4. Enter the domain you would like the subdomain redirected to. You may setup subdomain redirects to other subdomains, or to a domain. In our current example we will redirect to the frii.com domain. Once you've entered the domain or subdomain you would like to redirect to, click "Save".
    CPanel-subdomain-redirect-step2.png
  5. You will see the following screen to confirm the subdomain redirection has been successfully setup.
    Cpanel-subdomain-success.png

Removing a Sub Domain

  1. To remove a subdomain in cPanel, first log in to cPanel.
  2. Scroll down to the "Domains" section of your cPanel and select "Sub Domains":
    CPanel-subdomains.png
  3. In the "Modify a Subdomain" section of cPanel, click the link "Remove".
    CPanel-remove-subdomain.png
  4. You will be asked if you wish to permanently remove the subdomain, click "Delete Subdomain". If you do not wish to remove the subdomain, click the "Go Back" button.
    Cpanel-remove-subdomain-confirm.png
  5. If the subdomain removal was successful you will see the screen below. Click "Go Back" to return to the subdomains section of cPanel.
    CPanel-remove-subdomain-success.png
  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Transfer Registrar to or from FRII

Instructions for Transferring Registrar Service to FRII Contact your current registrar company...

Getting Started: Logging into cPanel

To login to cPanel visit in any web browser. Choose the server your website is hosted on. If...