Hosting and domains·27 questions

What are domain aliases and how to use them correctly?

Answer

A domain alias is an additional domain name that is linked to an existing main site on hosting, resulting in users seeing the same content regardless of which specific address they entered in the browser address bar. Setting up aliases does not create a separate site, but merely instructs the server to serve the same file directory for the new domain.

This approach is used in several typical scenarios to solve marketing and technical tasks.

Brand protection and typo hijacking, when domains with possible errors in the company name are registered so that users still end up on the official website.
Conducting advertising campaigns or creating short addresses for flyers and business cards that automatically redirect visitors to specific landing pages.
Uniting regional domain zones, for example, when a company's website is available simultaneously in the .ru and .rf zones, referencing a single database and files.

To configure an alias, you need to add a new domain name in the hosting control panel in the special aliases section and point its DNS records to your server's IP address. At the same time, it is extremely critical to set up a 301 redirect from the aliases to the main domain so that search engines do not index page duplicates and penalize the site in search results for the appearance of identical content at different addresses.

Was this answer helpful?

More questions in this topic

Related questions from other topics