Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried to setup nginx on my brand new linux-server together with Plesk 10.3 (latest) and created a new nginx subdomain for port 8226 - how can I configure Plesk to use nginx as a server for my subdomain created in Plesk?

share|improve this question
up vote 1 down vote accepted

You are looking for a so called "reversed proxy". You do not need to create another subdomain in your Plesk-Panel.

Just tell your apache, to proxy all requests from to your predefined nginx-port (8226).

Create a new file nginx.conf and save it under /etc/httpd/conf.d/


ServerName ""
UseCanonicalName Off
ServerAlias  ""

ProxyPreserveHost On
ProxyPass /
ProxyPassReverse /


Reload apache service httpd reload

For further questions, I advise you to read the official Apache Virtual Host Documentation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.