Re: localost versus mydomain
On Mon, 9 Jul 2007 20:49:14 +0200
mess-mate <mess-mate@wanadoo.fr> wrote:
> Hi,
> i've troubles with my localhost.
> When i do a http://localhost/xxx
> 'requested url was not found....' error.
> The server search for http://mydomain.com/xxx
>
> I have a /var/www/mydomain.com
> and /var/www/xxx (with an alias to xxx)
>
> mydomain.com is a enabled site in /etc/apache2/sites-enabled.
> Debian/etch
>
> How can i get localhost as it normally must do ?
>
> mess-mate
Check your /etc/hosts! It should include a line like this:
127.0.0.1 localhost
and probably other names as well, separated by spaces or tabs.
--
Szia:
Nyizsa.
----------------------------------------------------------------------
Get a free email account with anti spam protection.
http://www.bluebottle.com/tag/2
Reply to: