Help - Search - Members - Calendar
Full Version: Domain name question..
Neowin Forums > Help & Discussion Center > Web Server Side
iStorm^
I'm not exactly sure which Forum to put this post into so I decided to just post it in General.



Anyway, I was just wandering if it is possible to make a domain name to randomly goto a website from a list.



For example... If you typed in http://www.domain.com it would look up a list or something and redirect to msn.co.uk, microsoft.com or apple.com?



Thanks.
Daniel
moved to Web Programming. voodoo
iStorm^
thanks voodoo, i wasnt sure where to post it ermm.gif
Celsyus
there are hundreds of redirect scripts out there, try looking at hotscripts.com



hope this helps.
Hypercube
You can actually use the random image script at the top of this forum, just change location: pic1.gif to location: http://msn.com...
Mr magoo
if you want, you can do a javascript redirect, and just set the timeout to 0
Cubano
The thing is that not everybody has javascript enabled browsers. You can use meta tags and

use server side programming to generate the random list
Hypercube
Quote -
Originally posted by Cubano

The thing is that not everybody has javascript enabled browsers. You can use meta tags and

use server side programming to generate the random list
'



True, but the php is executed server-side and sends a header to the browser to go to a different location which is a little simplier.
iUk
What kind of server are you on?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.