NginX Setup on Multiple Domains

Hello…

I have a domain hosted on linode with 5 subdomains. I want to install NginX as reverse proxy / load balancer with Apache such that it can work with all the domains and subdomains. As I am very much new to NginX, can anyone help me in getting this thing sorted out…

Thank You

3 Replies

http://wiki.nginx.org/NginxConfiguration

If all you want nginx to do is act as a reverse proxy then the configuration should be pretty simple. You just want it to listen on port 80 and foward all requests to apache. If you want it to serve static files then that is more complicated though still pretty straightforward.. I've posted sample configs for that on the forums here somewhere.

hope this helps ..

Install NGINX (better than Apache or Lighttpd) - VPS Bible Pt 11

~~[http://www.guvnr.com/web/web-dev/install-nginx-not-apache/" target="_blank">](http://www.guvnr.com/web/web-dev/instal … ot-apache/">http://www.guvnr.com/web/web-dev/install-nginx-not-apache/](

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct