Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74020

Serve different index.html with each IP or page refresh

$
0
0

I have a few HTML websites templates (3) that I like and I want to create my portfolio with them. The problem is that I like them all and I do not know which one to chose to be my website/landing page. So I am thinking that I wanna use all on the same domain, is that possible?

For example, with each IP or page refresh, when someone lands on my domain.com, each time to be served a random index.html which will load its afferent assets.

So for example I would want to have index1.html, index2.html and index3.html in public_html and if someone lands now on domain.com, to be served index1.html. If he does a browser refresh, to load index3.html, or if that is not possible, at least IP based.

I've looked over stackoverflow for something like this, without success, because I don't even know what to look for in the first place.

Thanks in advance.


Viewing all articles
Browse latest Browse all 74020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>