Forum OpenACS Q&A: Problem with localhost

Collapse
Posted by Peter Wang on
Hi,
i was wondering if anyone could help me with a localhost problem... i installed openacs and dotlrn on my laptop and it was working fine. i just got internet access for it yesterday, and now when i try to run dotlrn or oacs, it says: "Fatal: could not resolve localhost.localdomain via dns". i tried experimenting with the hostname and address values to no avail... does anyone know what i should do? (the internet access is through a router, and is assigned an ip address of 192.168.0.103)
Collapse
2: Re: Problem with localhost (response to 1)
Posted by Cathy Sarisky on
Try an entry in your /etc/hosts file for localhost.localdomain.  (That assumes this is a linux box.  If it's something else, you have the equivalent file, but the path will vary.)
Collapse
3: Re: Problem with localhost (response to 1)
Posted by Peter Wang on
Thanks Cathy,
it did the trick! =)