Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.44

(Home >> Domains >> Parked Domains)

Overview

Parked domains are domains that you own but that do not contain any content. You can use parked domains to hold a domain that is for sale or redirect traffic to another domain.

Create a New Parked Domain

To add a parked domain, perform the following steps:

  1. Enter the name of the domain that you wish to park in the available text box.
  2. Click Add Domain

To open the parked domain’s home directory with the File Manager (Home >> Files >> File Manager), click the link under Document Root that corresponds to the parked domain that you wish to view.

Note:

 You can create email accounts for parked domains. To learn how to set up an email account for a parked domain, read the Email Accounts documentation.

Enable or disable parked domain redirection

To enable or disable redirection of a parked domain, perform the following steps:

  1. Click the Manage Redirection link that corresponds to the parked domain that you wish to manage.
  2. If you wish to redirect the domain, enter the link tto which you wish to redirect the parked domain in the available text box.
  3. Click Save.
    • To disable the redirect, click Disable Redirection.

Remove Parked Domains

To remove an existing parked domain, perform the following steps:

  1. Click the Remove link which corresponds to the parked domain that you would like to remove.
  2. Click Yes to confirm that you wish to remove the parked domain.
    • To keep the parked domain, click No.

Remember:

We strongly suggest that you create a full account backup before you remove a parked domain.

Search parked domains

To search through the list of parked domains, perform the following steps:

  1. Enter the search criteria into the Search text box.
  2. Click Go.

Results that match your search criteria will populate the list.

Email accounts in parked domains

You can create email accounts for parked domains. To learn how to set up an email account for a parked domain, read the Email Accounts documentation.

When you remove the parked domain, the parked domain's email accounts will no longer appear in the cPanel interface. However, the contents for this email account still exist in the mail folder of the user's home/username/mail directory.

  • If you add the domain back to the same account as the primary domain, an addon domain, or a parked domain, the email accounts will reappear in the cPanel interface.
  • If you move the domain to a different account, you must add the email accounts manually and move the contents of the email accounts manually. The email accounts must follow the same name and same domain format that they previously followed.
  • These email accounts will also appear in the Email Accounts interface if you change the account’s primary domain name to the unparked domain name. You can perform this action in WHM’s Modify an Account interface (Home >> Account Functions >> Modify an Account). When you perform this action, the former primary domain name’s mailboxes will not appear in the Email Accounts interface. However, the files will still exist.

    • You can add new accounts with the Email Accounts interface (Home >> Mail >> Email Accounts), or you can run the /scripts/addpop script to manually add new email accounts.
    • To move one email account under a domain, run the following command:

      mv /home/old_account/mail/domain_name/email_account /home/new_account/mail/domain_name/

      When you run this command, the system creates the /home/new_account/mail/domain_name/ directory.

    • To move all the email accounts under a domain, run the following command:

      mv /home/old_account/mail/domain_name /home/new_account/mail


      After you move the files, change the new account's ownership with the following command:

      chown -R new_account:new_account /home/new_account/mail/domain_name

Note:

Verify ownership of the email account after you move it.

Addon vs. parked domains

CharacteristicAddon domainsParked domains
The main domain appears in the address bar.YesNo
The domain uses the following Apache directive:VirtualHostServerAlias
The domain uses separate logs.YesNo
The domain uses separate stats.YesNo
The system treats the domain as a subdomain (other than the URL).YesNo
This type of domain is ideal for multiple domains that share the same address.NoYes