Hi,
thx @Joshua for the quick answer.
In fact the error msg about the qualified domain contained 127.0.1.1 and
not 127.0.0.1
///
Setting up apache2-mpm-worker (2.2.4-3ubuntu0.1) ...
* Starting web server
apache2
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
///
Following Joshuas advice I checked the httpd.conf and also the ports.conf.
The httpd.conf is empty - about this I had researched already and read
that it is supposed to be empty due to the new apache2.conf file??? The
ports.conf contains:
//////////
Listen 80
<IfModule mod_ssl.c>
Listen 443
</IfModule>
//////////
Any furthe advice?
Here also the data from the /etc/hosts:
127.0.0.1 localhost
127.0.1.1 ben-desktop
cheers,
Ben
Joshua Slive wrote:
On Wed, Mar 5, 2008 at 2:12 PM, Ben Schonle <[EMAIL PROTECTED]> wrote:
- Installed apache2 via synaptic
Yah, well, who knows what the heck you get with that. You may be
better off on an Ubuntu forum where they have some idea how they have
configured apache.
- while installing apache 2 an error msg about a qualified domain name
appeared:
///
Starting web server apache2
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
I hope that is a type for 127.0.0.1, since otherwise things are really
confused here.
After some research I figured out that I had to add *ServerName
"localhost"* to the apache2.conf - I restarted and restarting apache2
made the error about qualified domain name vanish.
No, you really need a fully-qualified hostname. See:
http://wiki.apache.org/httpd/CouldNotDetermineServerName
When writing now: "localhost" or "127.0.0.1" as the URL, it didn't show
the message "It works".
Here also the data from the /etc/hosts:
127.0.0.1 localhost
127.0.1.1 ben-desktop
Hmmm... Maybe the 127.0.1.1 thing wasn't a typo. This may be some
Ubuntu-specific setup. But it is unclear what address the loop-back
interface is living on for your system.
You should start by looking in your httpd.conf and other Include'd
config files for Listen directives. These directives tell apache
exactly what IP addresses and ports it is expected to answer on.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]