Re: localhost versus mydomain
Nyizsnyik Ferenc <nyizsa@bluebottle.com> wrote:
| 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.
|
| --
127.0.0.1 localhost.localdomain localhost
is there. So that's not the problem.
It have some what to do with mydomain i think.
mess-mate
--
They have been at a great feast of languages, and stolen the scraps.
-- William Shakespeare, "Love's Labour's Lost"
Reply to: