LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   127.0.0.1 v localhost.localdomain (https://www.linuxquestions.org/questions/linux-software-2/127-0-0-1-v-localhost-localdomain-68598/)

Bill Barrington 06-28-2003 12:58 AM

127.0.0.1 v localhost.localdomain
 
I've spent so much time trying to solve a problem that I can't see the woods for the trees any more.

So could somebody briefly explain the different between trying to serve up pages from //127.0.0.1/, and //localhost.localdomain/...?

The effect I want (to have PHP pages delivered correctly) works OK on localhost.localdomain, but not on 127.0.0.1.

Is this an Apache problem (ie httpd.conf)?

Thanks,

Bill.

jschiwal 06-28-2003 02:57 AM

Does your /etc/hosts file contain the line:

127.0.0.1 localhost.localdomain localhost

Bill Barrington 06-28-2003 07:47 PM

Yes, it does, and thanks for alerting me to that file.

In fact the problem seems to be non-reproducible today, so at least I'm back to normal, where I started yesterday.


All times are GMT -5. The time now is 02:59 AM.