Welcome! Log In Create A New Profile

Advanced

Re: [IE] localhost works but server_name times out!

Francis Daly
February 08, 2018 03:48AM
On Wed, Feb 07, 2018 at 09:56:15PM -0500, Credo wrote:

Hi there,

> If by dns record, you mean uwsgi_pass, then yea, I'm sure. Otherwise
> localhost wouldn't work either, but it does.

Your client (browser) should resolve the name "www.example.com" to an
IP address that corresponds to the nginx server; and all network control
devices (remote firewalls, local iptables or the like) should allow the
traffic get from your client to the nginx IP:port.

All of that has to happen before nginx gets involved.

Since you can access http://localhost/, but not http://www.example.com/,
the first thing to check is whether your client tries to talk to your
nginx when it asks for http://www.example.com/.

If it doesn't, you must fix things outside of nginx so that it does.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

RE: [IE] localhost works but server_name times out!

jasonw February 06, 2018 10:44AM

Re: RE: [IE] localhost works but server_name times out!

Credo February 07, 2018 12:08AM

Re: [IE] localhost works but server_name times out!

Valentin V. Bartenev February 07, 2018 08:40AM

Re: [IE] localhost works but server_name times out!

Credo February 07, 2018 09:56PM

Re: [IE] localhost works but server_name times out!

Francis Daly February 08, 2018 03:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 228
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready