by Don_HH2K » Thu 12 Feb, 2009 8:10 pm
I don't know the exact process for IIS7, but I can tell you how to do it from IIS6, hoping that things haven't changed all that drastically.
- Create a new Web site within Internet Information Services Manager. I'm going to assume this is still as easy as going to Action -> New -> Web site.
- When prompted for an IP address, port, and host header to use for the site (in IIS6 this is the second dialog, after setting the site description), enter the new domain name under the "Host header for this Web site" field. Leave "port" set to 80, and only adjust the IP address from its default value if you know that you need to change it.
- The next dialog should let you specify where on your disk or network the site's files should be stored. Ideally this will be a separate directory for every single Web site. If possible do not create the new site's directory as a subdirectory of any other site: while IIS will do it, this usually screws up other services like ASP and ASP.NET.
Then all you should need to do is set your directory permissions (you most likely only want "Read"), which occurs in the next dialog. After that, your site should appear in IIS Manager and start automatically, at which point you can manipulate it like any other site.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0 x64; en-US; rv:1.9.2a1pre) Gecko/20090131 Minefield/3.2a1pre (.NET CLR 3.5.30729)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4