Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

WildCard domains : how to treat IP Address and Specific Domains differently from Failover/Wildcard Domains ? (no replies)

$
0
0
forgive me if this has been asked before -- I couldn't find this exact question in my mailing list archives back to 2007

I am trying to deal with wildcard domains in a setup.

The intended result is to do this :

Requests for example.com
Serve Site A

All IP Address Requests :
Serve Site A

All other domains ( wildcard / failover )
Serve Site B

I've tried several combinations of listen + server name, but I can't get this right. I end up sending everything to site A or site B.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



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