Fortunately, it’s sunny in Kunming today. It’s a good day to update the technical tutorial. If you encounter any server or website construction problems, you can give me a message, or comments, welcome to interact, maybe I can help you.

For more exciting information, you can also pay attention to the blue Team cloud’s public account “Blue Team cloud computing”.

Well, without further ado, today’s FAQ is: Multiple domain redirects to a site

Tutorial start:

ABC.com

www.ABC.cn

www.ABC.net

ABC.cn

ABC.net

All five of them are redirected to

www.ABC.com

IIS7 can be added directly to the web.config configuration file

<system.webServer>

</system.webServer>

Parsing Settings:

The first implementation: the record type is A record, and the record value is IP address host record @ and WWW

The second way: if you buy a virtual host, generally in the specific information of the virtual host, you can check the alias, the alias provided by the service provider as a record value, record type for CNAME, host record for @ and WWW, can also be achieved