Category: ASP IIS Windows

How do I setup a domain alias in Microsoft Windows IIS 6 webserver?

  • Connect to the server via RDP (remote desktop or TS)
  • Open IIS administrator, launch from START > Administrative tools > Internet Information Services (IIS) Manager or START > RUN > inetmgr.exe
  • Expand ‘Local Computer’
  • Expand ‘Web Sites’
  • Select site in question
  • Right-click the site name and select ‘Properties’
  • In ‘Web Site’ tab click ‘Advanced’
  • Click ‘Add’
  • IP Address: Select the same IP as that used by the site already
  • TCP port: 80
  • Host Header Value: alias value (e.g. www.secondarydomain.com or xyz.domain.com)
  • Click ‘OK’
  • Click ‘OK’
  • Click ‘OK’

Next, ensure that your new domain or alias domain is set up in DNS and pointing to the same IP value selected above. The best practice is to use an A record in DNS and point it to the primary site IP.

The site will now render for both the original domain and the new alias. Use as many as required.

Tags:

ASP IIS

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.