Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Apache without a Domain

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
caver



Joined: 14 Feb 2004
Posts: 2

Posted: Sat Feb 14, 2004 8:19 pm    Post subject: Apache without a Domain  

I read the existing posts, but I am still having no luck.

I have Debian installed and have done the hostname localhost. I created an entry in /etc/hostname that looks like this:

127.0.0.1 localhost

I do the apt-get install apache, it still chokes when trying to establish the fully qualified domain name.

Pointers? Help? I don't remember this much trouble when I set a Debian box up last year.

Thanks,

John
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Sat Feb 14, 2004 8:26 pm    Post subject:  

The Debian image is missing /etc/hosts -- so you could try adding an entry for localhost there:

echo "127.0.0.1 localhost" > /etc/hosts

-Chris
Back to top  
caver



Joined: 14 Feb 2004
Posts: 2

Posted: Sat Feb 14, 2004 8:52 pm    Post subject:  

Bingo,

Thanks Chris!
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1