[97280] in RedHat Linux List
RE: apache config
daemon@ATHENA.MIT.EDU (Paul Pettit)
Mon Nov 2 11:45:25 1998
Reply-To: <paulp@ccbnpts.com>
From: "Paul Pettit" <paulp@ccbnpts.com>
To: <redhat-list@redhat.com>
Date: Mon, 2 Nov 1998 10:39:47 -0600
In-Reply-To: <000701be0678$aa445640$3da2cdcf@jlevitsk>
Resent-From: redhat-list@redhat.com
> Joshua Levitsky [mailto:jlevitsk@mindspring.com] wrote:
>
>
> You could go to your DNS server and add an entry for
> www.iae.univ-nantes.fr
> with the same IP as iar.univ-nantes.fr. Since you want it to
> be the same web
> site it isn't really the web server that needs anything.. it's the DNS
> server.
>
However this would not be the complete answer to the problem.
> From: LEBLIN Jean-Yves [mailto:leblin@iae.univ-nantes.fr]
>
> I actually run a web server under RH5 with apache. The
> question is : my
> domain name is iae.univ-nantes.fr, and so my web site is
> http://iae.univ-nantes.fr . Now i'd like it to be
> http://www.iae.univ-nantes.fr so that it will be easier to
> find, but i'd
> like to keep the old name. Is there an easy way to do this
> (some sort of
>
The easiest way to do this is to set your ServerName variable in httpd.conf
to www.iae.univ-nantes.fr. As long as your (or your ISP) is resolving all
.univ-nantest.fr to the same IP this will work however if (and I assume this
is the case) there is a separate IP for each domain name then DNS will need
to have the CNAME www.iae added (ie the new name added to the DN server) and
pointed at iae.univ-nantes.fr.
If the server's real name is iae.univ-nantes.fr then changing the ServerName
will not affect outside access to the web site so you shouldn't have to
worry about LOS and your boss.
You should also look into the vertual hosting functions of apache.
Luck,
Paul Pettit <paulp@ccbnpts.com>
CTO
Consistent Computer Bargains, Inc
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.