Overview
Parked domains are domains that you own, but which do not contain any content. Instead, they point to the contents of another domain or subdomain on your account. This is useful, for example, to hold a domain that you will later sell, or to redirect traffic to another domain.
Important:
Unless your hosting provider enables the Allow Remote Domains option in WHM's Tweak Settings interface (Home >> Server Configuration >> Tweak Settings), you must perform the following actions before you attempt to park a domain:
- You must register the domain name with a valid registrar.
- You must point the domain to your account's nameservers.
Create a New Parked Domain
To add a parked domain, enter the domain name in the text box and click Add Domain.
To open the parked domain’s home directory with cPanel's File Manager interface (Home >> Files >> File Manager), click the link under Document Root that corresponds to that parked domain.
Note:
You can create email accounts for parked domains. For more information, read the Parked domain email accounts section below.
Enable or disable parked domain redirection
To enable or disable redirection of a parked domain, perform the following steps:
- Click Manage Redirection for the parked domain that you wish to manage.
- To redirect the domain, enter the link to which you wish to redirect the parked domain in the text box.
- Click Save.
- To disable the redirection, click Disable Redirection.
Remove Parked Domains
Notes:
- We strongly recommend that you create a full account backup before you perform this action.
- This action only removes the parked domain, its
vhost
entries, and its DNS entries. The system retains the parked domain's directory contents.
To remove an existing parked domain, perform the following steps:
- Click Remove for the parked domain that you wish to remove.
- Click Yes to confirm that you wish to remove the parked domain.
- To retain the parked domain, click No.
Search parked domains
To search through the list of parked domains, enter the search criteria in the Search text box and c lick Go . Results that match your search criteria will populate the table.
Parked domain email accounts
To add new email accounts, use cPanel's Email Accounts interface (Home >> Mail >> Email Accounts), or run the /scripts/addpop
script from the command line.
-
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 of 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:
Make certain that you verify ownership of the email account after you move it.
If you remove the parked domain, its email accounts will no longer appear in cPanel's Email Accounts interface (Home >> Mail >> Email Accounts). However, the email accounts' contents still exist in the mail folder of the user's home/username/mail/
directory.
- If you add the domain again, to the same account as the primary domain, an addon domain, or a parked domain, the email accounts reappear in the interface.
- If you change the account’s primary domain name to the unparked domain name, the email accounts reappear in the interface.
- You or your hosting provider 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 cPanel's Email Accounts interface (Home >> Mail >> Email Accounts). However, the files will still exist.
-
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.
Note:
The email accounts must follow the same name and domain formats that they previously followed.
Addon vs. parked domains
Characteristic
|
Addon domains
|
Parked domains
|
---|---|---|
The main domain appears in the address bar. | Yes | No |
The domain uses the following Apache directive: | VirtualHost | ServerAlias |
The domain uses separate logs. | Yes | No |
The domain uses separate stats. | Yes | No |
The system treats the domain as a subdomain (other than the URL). | Yes | No |
This type of domain is ideal for multiple domains that share the same address. | No | Yes |