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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old May 26th, 2004, 11:47 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
2 domains pointing to different folders on Win2000, IIS 5.0

First off, let me confess my lack of deep technical skill. I am a front-end designer (a photoshop guy), and have little knowledge of servers and settings. With that out of the way...

I am trying to get my webhost to allow me to have 2 (or more) websites on 1 hosting account. In order to do this, I need to be able to have extra domain names point to different places on the server. Here is an example of what I want to do...

I have two domain names. www.mysite.com and www.mybusiness.com.

www.mysite.com points to my webhost. I want www.mybusiness.com to point to a folder on www.mysite.com.
So... www.mybusiness.com/index.htm would actually be www.mysite.com/mybusiness/index.htm (the user would have NO IDEA that the two sites are run off the same server).

My old webhost allowed this, but they charged extra money for the service. My new webhost says they don't know of any way to do it on their servers, because their servers are different from my old webhost's server (I don't know if they are pulling my leg or not). Anyway, I got them to agree to try something if I figure out how to... So, I need to know how to do this.

My current host is running Windows 2000, IIS 5.0. Please let me know how to do this. And PLEASE explain it in simple terms. I have to be able to explain this to them ... and my server knowledge is REALLY limited.

Thanks!!!

Jabbamonkey

Reply With Quote
  #2  
Old May 27th, 2004, 01:57 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 31 m 33 sec
Reputation Power: 688
Ask your hosting company if they support host headers for IIS. If so you may be able to do what you want. If not, you could take a look at a remote DNS service like zoneedit.com, they may provide a service that does what you want.

Another option not as clean is to use asp to redirect users to the proper webs.
__________________
======
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 27th, 2004, 07:49 AM
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

At the moment, my webhost IS using an ASP redirect script ... BUT the redirect script has problems. For example, here is what is does...

If you go to www.mybusiness.com you are redirected to www.mysite.com/mybusiness/ ... however, the url reads www.mybusiness.com/mybusiness/. Almost, but no cigar. In this case, if the user types www.mybusiness.com/index.htm, then they get the page www.mysite.com/index.htm (but the url reads www.mybusiness.com/index.htm) !!!

If host headers are supported, is there a line of code I can send them that may work? If they aren't supported, does anyone have an example of a GOOD redirect script? Please let me know. As I said, I'm not ver tech savy. If I go to my webhost and say do it this way, I'm worried they'll skirt around the issue and just say they can't so it!!!

Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > 2 domains pointing to different folders on Win2000, IIS 5.0


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 4 hosted by Hostway