httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] two addresses one website
Date Wed, 27 Aug 2003 10:12:08 GMT
Mohamed Mahmoud wrote:
> how to add ServerAlias to the main server configuration.
> you mean the httpd.conf file or another file. Precise it please.

If you are not using virtual hosts (see:, you don't have to worry about it,
and you should not attempt to use ServerAlias. Just point the A-record of to the IP address Apache is running on (DNS stuff, off-topic
for this list), and have in httpd.conf:
     UseCanonicalName off

If you are using virtual hosts, go to your Virtual Host block, and add a
ServerAlias directive, eg:

    <VirtualHost *>

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message