Ray at <%=sLocation% > wrote on 04 okt 2003 in
microsoft.publi c.inetserver.as p.general:
What do you mean? You have one site in IIS that is serving multiple
WWW domains, or are you talking about NT domains? Can you re-explain
this please?
Why not?
You can register many domains and ns-point them to the same IP, having
ASP server.transfer them to a different set of pages.
"<!--#include virtual" this in the top of all your pages
=============== ====
<%
host = Request.ServerV ariables("HTTP_ HOST")
url = Request.ServerV ariables("URL")
if instr(url,"/mydomain")<>1 then
If instr(host,"myd omain.org") = 1 Then
server.transfer "/mydomainORG" & url
ElseIf instr(host,"myd omain.com") = 1 Then
server.transfer "/mydomainCOM" & url
ElseIf instr(host,"myd omain.nl") = 1 Then
server.transfer "/mydomainNL" & url
ElseIf instr(host,"123 .123.123.123") = 1 Then
server.transfer "/mydomainIP" & url
End If
server.transfer "/404.asp"
end if
%>
=============== ====
not tested !!!
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)