Before you do this, you must first be sure to have a domain name ....
Then the domain name points to an external network host address, the normal access to the site
IIS7 after the version of the spectators continue to look down, IIS7 before the version, please stop, I did not do the previous version
First confirm that the server's IIS is configured with the "HTTP redirection" feature, I am a novice, so IIS all the features I have installed, haha
Open IIS, build two website, we temporarily named them: ABC, XYZ
ABC website Binding abc.com
XYZ Site Binding www.abc.com
Note: Two sites do not point to the same folder, such as abc.com, you can specify an empty directory is also possible
Click on the ABC website and you can find "HTTP redirect" on the right.
When you click inside, set the destination address you want to redirect to:
Remember to choose 301,301 is the state, not the dorm number, nor the room number
Domain address default jump to www (301 redirect)