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

Nginx and subdomains issue

Hi, Here's my configuration

server {
  listen 80;
   location / {
      proxy_pass http://123.456.789.10:8080/;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header Host $host;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

I'm wondering why if I point the browser to: or everything's fine, but if I go to, firefox can't find the server at

Hints? TIA

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If the issue is an inability to find the server at, then you almost certainly don't have in DNS. This can be checked by running


on windows, or

dig A

on (Li|U)nix. To fix this, you'll need to add to DNS as an A record, with the same value as

share|improve this answer
You are right Cian, I have to add as an A record. – Argo Jul 31 '13 at 12: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.