IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 27th, 2004, 05:11 PM
jabbamonkey jabbamonkey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 28 jabbamonkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question No host headers ... point domains to directory?

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

Reply With Quote
  #2  
Old May 28th, 2004, 03:02 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,829 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 20 h 23 m 12 sec
Reputation Power: 765
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

Reply With Quote
  #3  
Old May 28th, 2004, 03:07 PM
jabbamonkey jabbamonkey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 28 jabbamonkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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...

Reply With Quote
  #4  
Old June 3rd, 2004, 04:25 AM
KrazyBlu KrazyBlu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 1 KrazyBlu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > No host headers ... point domains to directory?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway