How to add a domain alias in cPanel

An alias is a second domain that shows the same site as the main one. For example, example.info opens the site of example.com. An alias has no folder of its own.

  1. Open "Domains" and click "Create A New Domain".
  2. Enter the domain name.
  3. Keep "Share document root (/home/.../public_html)" checked - the folder is shared with the main domain.
  4. Click "Submit".
Alias with a shared folder
Alias with a shared folder

"Share document root" cannot be changed after creation. If you need a separate site, delete the domain and add it again without the checkbox.

If the alias should send visitors to the main domain instead of showing a copy of the site, set up a redirect - this is better for search engines.

Questions and answers
An alias shows the same site at a second address. A redirect sends visitors to the main address - better for search engines.
No, the shared folder cannot be switched off. Delete the domain and add it again without "Share document root".