Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index

Hi Marc, *,

On Sat, Oct 23, 2010 at 2:53 AM, Marc Paré <> wrote:

Ok, I am more of a user than a dev, as you have probably seen from my posts.
To get to the "user" demo site, I am on a Mandriva system. How would I then
access your demo site. I don't quite understand why the test site is not
viewable directly. Or am I doing something wrong?

Because those hostnames are not registered in a dns server.

When you request a site with a name "", your computer asks
a domain name server for the ip the server belongs to. now your
computer knows that the request needs to be sent to the address for example.
But there are no such entries for or or - thus when
you don't add the host-entries, your computer again asks the dns
server and that reponds with "sorry, don't know its address" and you
get a host not found.

By manually adding the listing to your hostfile, your computer doesn't
need to ask the DNS server, since it can already read that information
from the /etc/hosts file, knows that is
reachable with the ip address

So on linux, edit the file /etc/hosts as root user. It should by
default contain a line
"              localhost" append the lines

to that file and save and close the file. Now you can access the sites.

As you can see all three (and itself as well) use
the same IP, the hostname is used to distinguish the subsites in this


E-mail to for instructions on how to unsubscribe
List archives are available at
All messages you send to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.