Welcome! Log In Create A New Profile

Advanced

Re: Nginx server_name command being ignored

Francis Daly
December 15, 2012 06:48AM
On Sat, Dec 15, 2012 at 06:32:07AM -0500, constable1 wrote:

Hi there,

> I am trying to access the web server from a bunch of windows machines (I
> don't have any linux desktops). My /etc/hosts file already reads:
> 127.0.0.1 localhost
> 127.0.1.1 ubuntuserver
> 192.168.1.93 test

/etc/hosts is for local-to-this-machine name resolution. It is the client
machine -- the one running the web browser -- that needs to resolve the
name "test" to the ip address.

So if you try on a windows machine, you must have the "test" entry in
the /etc/hosts file on that windows machine. Searching the fine web
should tell you exactly which file that corresponds to on the version
of windows that you are using.

> Where the final address is the local address of the server. When I do the
> curl operation from the server on http://test/ then I get the index.html
> page back, which is encouraging, but when I try to ping it from any of my
> windows machines then I get nothing.

When you type "curl -i http://test/" from a command shell on any one
windows machine, you get immediately returned to the prompt with no
other output? Likewise when you use the other curl command suggested?

That is unexpected to me and I do not know how to proceed.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx server_name command being ignored

constable1 December 14, 2012 08:01AM

Re: Nginx server_name command being ignored

Antonio P.P. Almeida December 14, 2012 08:10AM

Re: Nginx server_name command being ignored

Jonathan Matthews December 14, 2012 08:10AM

Re: Nginx server_name command being ignored

constable1 December 14, 2012 08:12AM

Re: Nginx server_name command being ignored

Jonathan Matthews December 14, 2012 08:20AM

Re: Nginx server_name command being ignored

constable1 December 14, 2012 06:54PM

Re: Nginx server_name command being ignored

Jonathan Matthews December 14, 2012 07:24PM

Re: Nginx server_name command being ignored

constable1 December 14, 2012 08:20PM

Re: Nginx server_name command being ignored

Francis Daly December 15, 2012 06:08AM

Re: Nginx server_name command being ignored

constable1 December 15, 2012 06:32AM

Re: Nginx server_name command being ignored

Francis Daly December 15, 2012 06:48AM

Re: Nginx server_name command being ignored

constable1 December 15, 2012 07:01AM

Re: Nginx server_name command being ignored

Francis Daly December 15, 2012 09:12AM

Re: Nginx server_name command being ignored

Francis Daly December 14, 2012 08:14AM

Re: Nginx server_name command being ignored

Francis Daly December 14, 2012 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 233
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