Default domain with randomly redirect to multiple domains.
May 29, 2019 03:18AM
Hello, Guys!

I'm a newbie with Nginx. I'm thinking something is it possible to redirect to random domains. For example, I have several domains
All domains are pointed to the same site which is hosted on one server. Is it possible when I request my default domain to choose randomly and redirect to one domain from the pool? I tried with rewrite rules, upstream balancing module also maps config with default domain and others. But no success.

Thanks! :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready