|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
First, let me explain that I'm a designer, and not a hardcore programmer or server person. I'm asking these questions so I can get my webhost to do what I need.... PLEASE use laymans terms and speak slowly.
With that out of the way..... I have my primary domain pointing to my webhost server. I have several other domain names pointing to that server ... however, the other domain names are redirected to certain folders on the server using an asp script. So, if you go to www.thievesguild.cc, you get redirected to www.thievesguild.cc/thievesguild/ Code:
<%=Request.QueryString("Refer")%>
<%
sname = Request.ServerVariables("SERVER_NAME")
sname = ucase(sname)
if InStr(sname, "CLASSICGAMING.CC") <> 0 then
response.redirect "/games"
elseif InStr(sname, "DJGREALESTATE.COM") <> 0 then
response.redirect "/realestate"
elseif InStr(sname,"THIEVESGUILD.CC") <> 0 then
response.redirect "/thievesguild"
else
' for all other domains and main site
response.redirect "index.php"
end if
%>
This is not ideal for me. What I am looking to do, is just point to the contents of that folder, not be redirected to the folder. So, I'd like .... http://www.thievesguild.cc/index.php where index.php is the index file in www.djgallagher.com/thievesguild/ The webhost is using Windows 2000, IIS 5.0. They told me that IIS 5.0 supports host headers, however they do not support this in their shared hosting environment due to the nature of their automatic update system, which would wipe out these configurations on a daily basis. Is that true, or are they pulling my leg .... if it could be true, is there a way around it? Can you do what I need without using "host headers"? Jabbamonkey |
|
#2
|
|||
|
|||
|
Deja vu
Post you question only once please.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
My first post was asking for an IIS. This one is geared toward an asp solution. Sorry for the confusion, but I'm just not getting much of a response...
|
|
#4
|
|||
|
|||
|
still need help?
the only other way to do this using IIS would be to create a new www virtual server and also using a different ip address.
fyi: the host header field allows you to host multiple sites on the same ip address |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > No host headers ... point domains to directory? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|