curl makes a site work externally once run locally (apache)

Posted by Kyle_at_NU on Server Fault See other posts from Server Fault or by Kyle_at_NU
Published on 2014-05-27T14:48:02Z Indexed on 2014/05/27 15:29 UTC
Read the original article Hit count: 178

Filed under:
|
|
|
|

Currently when I visit mysite.mydomain.com external to the local network I get in the browser:

This is the default web page for this server.

Nothing to see here.

This is not even the "It Work's" Apache page.

Then if locally (Apache2 on Ubuntu Server 12.04 with curl installed ) type:

curl mysite.mydomain.com

I get the site I expect. Then the next time i visit the page externally I get the correct site.

Has anyone seen this before? Tips/Suggestions?

© Server Fault or respective owner

Related posts about linux

Related posts about apache-2.2