Web Hosting Talk







View Full Version : can't lynx to localhost


robjohnston
08-29-2002, 02:14 PM
Hi folks.

I'm having trouble getting a result from lynx when I try sites hosted on my own server. I can resolve hostname just not lynx to them.

I can
lynx http://localhost/
lynx http://www.google.com/
but not
lynx http://on.my.server/

It's a problem as I need to run spider scripts to index my sites but they won't run.

Otherwise the server runs fine.

Any ideas?

sitekeeper
08-29-2002, 02:51 PM
Have you tried http://localhost/full/path/to/file

or

file://localhost/FULL/PATH/TO/YOUR/FILE

Just a thought!

Perlboy
08-29-2002, 10:13 PM
Erm,

Is it localhost specific?

If it is then you need to make sure that a localhost entry is in /etc/hosts in the fashion:

127.0.0.1 localhost.localdomain localhost

That said, if it isn't localhost specific and you can't access your own sites rom your own box within lynx then something is wrong with your loopback setup in your config files. This COULD be something to do with your colo/dedicated provider in that they may set your netmask to 255.255.255.254 which MAY limit your access locally (wild guess).

Cheers,

Stuart