Ray at <%=sLocation%> wrote on 04 okt 2003 in
microsoft.public.inetserver.asp.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.ServerVariables("HTTP_HOST")
url = Request.ServerVariables("URL")
if instr(url,"/mydomain")<>1 then
If instr(host,"mydomain.org") = 1 Then
server.transfer "/mydomainORG" & url
ElseIf instr(host,"mydomain.com") = 1 Then
server.transfer "/mydomainCOM" & url
ElseIf instr(host,"mydomain.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)