|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
*.mydomain.com
Hi,
I'd like to have IIS handle multiple open domains so any subdomain of a particular domain name resolves to a particular code folder, yet still works under the subdomain typed in by the user, ie; *.domain1.com resolves to c:/web/domain1/www *.domain2.com resolves to c:/web/domain2/www I've gotten the DNS issues worked out. I just need IIS to know how to deal. I've started messing around with the 'default website' but this doesn't help me since it sends all non-absolutely specified websites to a single folder on the box, and I need it instead to go to the domain-specified folder. Any advice? Thanks |
|
#2
|
|||
|
|||
|
Take a look at using host headers. I think you need a server version of windows for host headers though. There is documentation in the IIS documentation online.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Yes, I was checking them out, and have a handle on how to make them work. The problem is that I have a 'default website' that is taking precendence. Can I delete this 'default website' so the individual sites will have a chance to get control?
Quote:
|
|
#4
|
|||
|
|||
|
What version of IIS and Windows?
|
|
#5
|
|||
|
|||
|
I'm running Win2k Server w/ IIS 5.0
Quote:
|
|
#6
|
|||
|
|||
|
If I'm understanding the problem, you might try putting a default.asp page in the root web with a one line code
<% response.redirect "mysubwebURL" %> Then make sure default.asp is one of the default documents for the root web. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > *.mydomain.com |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|