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

2 Replies

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct