Suppose there are a.com,b.com,how to host them both with the same IIS?
EDIT
It's not hello.domain.com and goodbye.domain.com,but two totally different domain names
Suppose there are a.com,b.com,how to host them both with the same IIS?
EDIT
It's not hello.domain.com and goodbye.domain.com,but two totally different domain names
Define multiple "Web sites" (as much as desired amount of virtual hosts), then for each web site, right click > properties > "web site" tab > "Advanced" button on "IP adress" row and there define your virtual hosts in "Host header value" field
You should look at creating multiple websites and using different host headers. Note if you are developing on Windows XP then you can only host 1 website (without using a tool downloaded from the internet).
Refer to these articles:
http://support.microsoft.com/kb/190008 http://www.visualwin.com/host-header/
Note: This question is better asked at ServerFault.com :)
i'm going completely off of memory. but what Oliver means (i believe). is in IIS. you click to create new website. name it whatever you want. in the properties section you will want to click on the tab that will show host names. Probably will also show text for multiple identies. leave IP address as all unassigned. and put in the domain name you want to answer. this can be my.domain.com or just domain.com or domain.local or whatever.
Do that for each website. Also in the properties you will need to select the domain's source files (which point to directories on the server's harddrives).