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'm using apache as a backend server and nginx as an front end server, and i've got stuck with configurations.

Here a my nginx.conf file and here are my apache2.conf

I was doing that some time ago, on my localhost.

The problem is i do not have an domain name, i'm accesing this server from it's ip.

is there any special configurations for it ?

Thanks a lot and sorry for my english, i'm from Romania.

share|improve this question
use /etc/hosts to assign fake domain name pointing to your – AlexD Oct 21 '12 at 10:26

Your Answer


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

Browse other questions tagged or ask your own question.