PDA

View Full Version : Display a splash page based on the referring url


Errica
02-02-2006, 04:25 PM
I'm preparing to purchase a new domain name which, when typed, will automatically forward to my existing domain name. I would, however, like to display a "splash" page, which would obviously reside on the existing domain, as a welcome page.

Is there a way, on the existing domain, to place a script that will check to see if they typed in the new domain and display this splash page? The existing domain in linux/php.

mark87
02-02-2006, 04:45 PM
Firstly splash pages are bad (but I guess it depends what you're using it for). :(

But secondly, why not making it easier for yourself and make the new domain point to something like olddomain.com/splash? Or am I missing something?

WA
02-03-2006, 01:55 AM
A lot of domain registrars support domain forwarding within their control panel, so depending on who your registrar is, you may be able to simply login and have your domain forwarded to anywhere of your choice.

Errica
02-03-2006, 03:30 PM
You guys were/are correct. GoDaddy allows you to forward to any url. Sorry for the oversight!