A domain alias serves an existing website under an additional hostname. It is useful for a related domain you own, but it is different from a redirect: visitors can remain on the alias unless you deliberately redirect them.
IN THIS ARTICLE
Check access and requirements
Register the domain and confirm your hosting plan permits another domain. Decide whether the alias should show the same files or redirect to a preferred canonical address. Prepare DNS and SSL for every hostname visitors will use.
01 Add a domain alias that shares an existing cPanel website
- Open Domains > Create a New Domain in current cPanel. Enter the additional domain without an https prefix or a page path.
- Retain Share document root when the alias should display the primary domain’s files. Review the path before creating the domain.
- If you need to share another site’s folder instead, confirm the supported document-root arrangement with the account’s domain controls rather than selecting an unrelated directory.
- Point the alias’s public DNS to the hosting service and include the hostname in the applicable certificate process.
- Configure a deliberate redirect if one address should be preferred. Also check that the application accepts the alias and generates the intended URLs.
Confirm the expected result
Visit the alias over HTTPS and inspect the displayed content and final address. Test links and login behaviour because some applications enforce one configured site URL.
Why does the alias show another site or redirect to the main domain?
If the alias shows a different site, compare document roots and DNS before changing files. If the application redirects it, review the application’s canonical-domain settings. Do not duplicate the website directory merely to create an alias unless you intentionally need a separate site.