to have a webserver www.mydomain.com

anwser as BOTH:

http://www.mydomain.com/
and
http://mydomain.com/

what do I need:

DNS A record:

mydomain.com.   IN      A   xxx.xxx.xxx.xxx

in httpd.conf, can I have BOTH entries in a single vhost entry like this ?

<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/mydomain.com/www
ServerName www.mydomain.com
ServerName mydomain.com
ErrorLog path/to/log
CustomLog path/to/log
</VirtualHost>

*if* I need two <VHost> sets, can I have SAME log in both ?






Voytek Eymont
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to