Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Can I redirect users using the IP to another page than users using the domain?

$
0
0
Hello everyone,

I wanted to know if it's possible that if the page is called via IP, the user is redirected to another page than if it's called via domain. Is that possible using nginx? If so, how?

Would this be possible by setting up the DNS setting corresponding to that domain? Could I set the DNS to point to 1.1.1.1/subdirect/ for example?

Thanks!

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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