PDA

View Full Version : Subdomains


evan
01-08-2007, 03:51 PM
Why can't two subdomains point to the same path? I try to set it up so that I have two subdomains pointing to the front page of my site but when I try to add the second subdomain I get the error Cannot use '/var/www/html' as the document root, because it lies within the document root '/var/www/html' of another subdomain '[the first subdomain]'

Ideally, I'd like to set it up so that any subdomain that is not otherwise defined just goes to the same place as www.

evan
01-08-2007, 04:26 PM
Can I just remove the *.example.com A record and replace it with a *.example.com CNAME record pointing to www.example.com ?