Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 set up a Ubuntu based Linode VPS with Nginx and Varnish on it. However i am not able to access anything on the IP or site address.

IP: Site:

When i try to access either of them i get this error

Error 503 Service Unavailable

Service Unavailable

Guru Meditation:

XID: 1357161149

Varnish cache server

Which configuration files need to modified to increase the timeout issues ? Experts need your help !

share|improve this question
What's in your logs? – Lucas Kauffman Apr 22 '12 at 7:42
Why do you think it's a timeout issue? – womble Apr 22 '12 at 8:04
@LucasKauffman : The Varnish Log or server related logs ? – Sameer Manas Apr 22 '12 at 8:27
@womble: In general 503 errors are related to time out stuff right ? – Sameer Manas Apr 22 '12 at 8:28
All of your logs until you find something useful. – Lucas Kauffman Apr 22 '12 at 8:38

Based on your comments, you didn't give any attention to the documentation. Read it. Specifically this page.

Varnish should run on port 80 (default http port) and nginx on a different one, for example 8080.

backend default {
      .host = "";
      .port = "8080";

The reason why you're getting 503 error is because there's no backend running (or even set up).

share|improve this answer
I have indeed setup Varnish on 80 and Nginx configuration on 8080. The reason is that Nginx is not starting on port 8080 but trying to start in port 80. This is producing bind errors. – Sameer Manas Apr 25 '12 at 14:57
Check if you have the default configuration file there, or the example part of the configuration. Check both nginx.conf and sites-enabled folder. – Sašo Apr 25 '12 at 16:34

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.