Randomly selecting different index page on each load?
I'm looking for the easiest and best way to have a different index.html file to load (randomly) each time someone visits my domain. I made 4 designs that I want to randomly load. I thought I could use the Cpanel random HTML feature in the scripts library, but I'm not entirely sure how that'd work. Any ideas on this?
Thanks for the expert advice everyone. It sounds like I should use php. Can someone direct me to a relevant php script that would work in the manner described? I'll be doing a search on my own but I'd be greatful for some suggestions. Thanks.
The problem is that I have this running on an addon domain on a linux cpanel server. When it forwards to one of the 4 html files, the URL then changes to:
Obviously I don't want this (I don't want it to be obvious this is an addon domain, I want it to remain as thedomainthesepagesareon.com) if that makes any sense. Any ideas why this is occuring and how to prevent it?