httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] fwding www
Date Fri, 23 May 2008 08:27:12 GMT
On Fri, May 23, 2008 at 2:28 AM, Rob <bubaphex@gmail.com> wrote:
> hey there,
>
> was wondering wether i could be pointed in the right direction. Im wondering
> how i setup in my virtual hosts (if in fact i do it in my virtual hosts) i
> can setup my fwd all non www traffic to the www url
>
> so to explain more i mean:
>
> i got to http://mydomain.com it would auto forward this onto
> www.mydomain.com.
>
> currently i have my virtual hosts like
>
> serverAdmin me@mydomain.com
> documentroot /var/www/html/blah
> servername mydomain.com
> serveralias www.mydomain.com

You need to configure DNS so that mydomain.com points to the same ip
as www.mydomain.com

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message