develooper Front page | perl.wxperl.users | Postings from January 2013

Re: wxPerl past, wxPerl present and wxPerl future.

Thread Previous | Thread Next
From:
James Lynes
Date:
January 2, 2013 20:27
Subject:
Re: wxPerl past, wxPerl present and wxPerl future.
Message ID:
CABPysegWv7S3nxE3m_z=CZw+6OXdv28_j1ZDDjMnS15k0iZCuA@mail.gmail.com
What's the equivalent to the hosts file for linux?

James


On Wed, Jan 2, 2013 at 3:20 PM, Michael Roberts <michael@vivtek.com> wrote:

> On 1/2/2013 9:16 PM, Steve Cookson wrote:
> > On Wed, Jan 2, 2013 at 4:00 PM, Wallace Winfrey <wwinfrey@gmail.com>
> wrote:
> >> I can still get to the site if I put 81.173.110.10 directly in my
> >> hosts file, but this obviously not a long-term solution, nor one that
> is of
> >> use to anybody not on this mailing list.
> > So if I type 81.173.110.10 into my browser I get:
> >
> > "This IP address is shared. For access to the web site which you look
> > for, enter its address instead of its IP.
> > For questions or problems please contact the server administrator."
> >
> > How do I get past that?
> >
> > Regards
> >
> > Steve
> >
> If you type it into the browser, your browser is asking the server for
> something from that naked IP address, and the server doesn't know what
> to give it, because several sites are served from that IP based on the
> server *name* in the browser.
>
> If you place the name into the hosts file, your browser will send that
> when requesting the URL from that IP, and the server knows which site to
> return.  This is effectively what DNS is doing invisibly; you can just
> hardwire the process locally for your own machine.
>
> Michael
>
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About