|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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! |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > 2 domains pointing to different folders on Win2000, IIS 5.0 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|