Domain aliases make your website available from another domain name. For example, you can make www.example.net and www.example.org show content from www.example.com
(cPanel >> Home >> Domains >> Aliases)
Domain aliases 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.
Unless your hosting provider enables the Allow Remote Domains option in the Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings), you must perform the following actions before you attempt to create a domain alias:
To add a domain alias, enter the domain name in the text box and click Add Domain.
To open the alias domain’s home directory with the File Manager interface (cPanel >> Home >> Files >> File Manager), click the link that corresponds to that alias under the Domain Root column of the Remove Aliases table.
When you create an addon domain, parked domain, subdomain, or main domain, the system will attempt to automatically secure that domain with the best-available existing certificate. If no certificate exists, the system will generate a self-signed certificate to secure the new domain.
If AutoSSL is enabled for the account that owns the new domain, the system will add a request for an AutoSSL certificate to secure the new domain and install it when available.
You can create email accou nts for domain aliases. For more information, read the Alias domain email accounts section below.
To enable or disable redirection of a domain alias, perform the following steps:
vhostentries, and its DNS entries. The system retains the alias’s directory contents.
To remove an existing domain alias, perform the following steps:
To search through the list of domain aliases, enter the search criteria in the Search text box and click Go. Results that match your search criteria will populate the table.
To add new email accounts, use cPanel’s Email Accounts interface (cPanel >> Home >> Email >> Email Accounts), or run the
/scripts/addpop script from the command line.
When you run this command, the system creates the
Make certain that you verify ownership of the email account after you move it.
If you remove the domain alias, its email accounts will no longer appear in the Email Accounts interface (cPanel >> Home >> Email >> Email Accounts). However, the email accounts’ contents still exist in the mail folder of the user’s
The email accounts must follow the same name and domain formats that they previously followed.