The next step in the process of self-hosting your own site is to set up a computer as a web server. To do this on Windows XP Professional or Windows Server 2003, you'll need IIS installed. On Windows XP Professional, you will only have the ability to create a single, stand-alone web site, while Windows Server 2003 allows you to create as many web sites as you'd like to. So, if you want to host multiple domains and you are running Windows XP Professional, you'll need to resort to a redirect script or some other "trickery" to allows users asking for http://www.somedomain.com to go to a different location on your server than those asking for http://www.someotherdomain.com. The rest of this tutorial assumes you are using Windows Server 2003, but other than the instructions for hosting multiple web sites, the details are pretty much the same.
To properly set up your site, you'll want to create a stand-alone web site in IIS (rather than adding a virtual directory under the "Default Web Site" site. To do this, follow these steps (we'll use "somedomain.com" as the domain name for this example):
The above steps, once you are up and running, will allow users to go directly to your site whether they type "http://www.somedomain.com" or "http://somedomain.com". Assigning header values to a site causes IIS to delegate to that site when the header of the request matches any of the site's header values.
At this point, the physical location on the server hosting your site is the path you entered in step 9 above.