Domain aliases allow you to redirect multiple domain names to the same website. This can be useful for marketing purposes and brand consistency.
Setting up an Alias Domain Name in Plesk
- Log in to your Plesk panel account.
- Select the domain name you want to add an alias for, from the Websites & Domains page click the Add Domain Alias button.
- On the Add Domain Alias page, enter the alias name you want in the Domain alias name field.
- From the “for the domain” dropdown menu, select the domain name you want the alias to redirect to.
- There are several CheckBox settings in the setup, which are checked by default. Here is what they mean:
Synchronize DNS zone with the primary domain
By enabling this option, the DNS zone for the alias domain name will be synchronized with the DNS zone of the primary domain name. Any changes made to the DNS zone in the primary domain will be automatically applied to the DNS zone in the alias domain.
Plesk does not allow the creation of mailboxes under alias domain names. Instead, the email service of the primary domain will be used. If you select the mail service option, mailboxes created under the primary domain name will also be available under the alias domain name. To allow users to read emails sent to mailboxes under the alias domain name, Plesk will redirect them to the corresponding mailboxes under the primary domain name.
If this option is enabled, the website will open in the browser at the URL of the alias domain name. If you uncheck the web service option, the alias domain name will only be used for email, provided that the email service is selected.
Redirect with the HTTP 301 code
By default, Plesk uses internal web server redirection for alias domain names. In this case, the alias domain name appears as a separate website to visitors and web search engines. This causes a problem because search engines index the content of the alias domain name separately, causing the primary domain name to lose search engine rankings.
- After confirming your settings, click OK to create the alias domain name.