Click to See Complete Forum and Search --> : 2 domains going to the same physical place but redirect one?


kelemvor
09-29-2003, 04:04 PM
OK

Not sure if this can be done or not but hopefully it can.

Here's the scenario.

I have a website at www.gmar.ws
I also have a subweb at www.gmar.ws/springshow

We recently registered a new domain name of realtorsspringshow.com

What we want to do is when someone goes to www.realtorsspringshow.com to have them go to the index.html at www.gmar.ws but then do some sort of check and if the person was trying to get to the realtorsspringshow.com site, to rediret them to the springshow subfolder.

Hopefully that makes sense. So, can that be done? If so, could someone let me know how?

Thanks.
--Mike

pyro
09-29-2003, 05:00 PM
Why not just send them to http://www.gmar.ws/springshow right away, if they try to access the http://www.realtorsspringshow.com domain? If your server is running Apache, look into an Apache redirect...

kelemvor
09-29-2003, 05:05 PM
Well I can set up a forwarder at the registrar's site but they charge a fee for that so I'da rather not do it that way. And the server is on a Windows 2000 machine. The site is being hosted by RoadRunner's Business Class service and they said they can't do certain things (but I didn't understand their email much). So I wanted to look into some simpler way to do it that would work but wouldn't cost anything because I doubt they'd pay for any sort of forwarding thing.

I'm open to all suggestions but I don't know anything about Server side programming, and it's not my server. :)

pyro
09-29-2003, 05:09 PM
If they support PHP, you could throw something like this up there:

<?PHP
header("http://www.gmar.ws/springshow");
?>That will automatically redirect all users to http://www.gmar.ws/springshow

kelemvor
09-29-2003, 05:10 PM
Well but I don't want ALL users to be redirected, onyl those that were trying to go to realtorsspringshow.com. The oens that were trying to go to gmar.ws should jsut go there like they always have.

I don't know about PHP but they support ASP.

pyro
09-29-2003, 05:20 PM
Does the realtorsspringshow.com domain have it's own web space, or is it a redirect to gmar.ws? If it is the latter, you're going to have to do the redirecting via your server's software...

kelemvor
09-29-2003, 05:26 PM
www.gmar.ws and www.realtorsspringshow.com both go to exactly the same place. Basically 2 names for one website. I just want to take the ones that go to www.gmar.ws and leave them at the normal index page and take the ones that go to realsspringshow.com and redirect them to the springshow folder.