I was wondering what you have to do in order to have a domain1 point
to subdomain.domain2.
I have woodstock.com and I would like that to point to
woodstock.snoopy.com
My DNS is configured like...
snoopy:
@ xxx.xxx.xxx.xxx A
woodstock snoopy.com CNAME
woodstock:
@ woodstock.snoopy.com CNAME
my apache configuration in 01_woodstock_vhost.conf on the machine that
hosts snoopy is
<VirtualHost *:80>
DocumentRoot "/var/www/woodstock/"
ServerName "woodstock.snoopy.com"
</VirtualHost>
I can visit woodstock.snoopy.com and it works great! However
woodstock.com takes me to snoopy.com NOT woodstock.snoopy.com
I'm not sure what to do next I tried doing something like this... but
I don't know where to go next
<VirtualHost *:80>
DocumentRoot "/var/www/woodstock/"
ServerName "woodstock.com"
</VirtualHost>
Thank you!
Thanks for the thought though! Do I need to do something special with
my DNS? I got it to semi work using a frame (one of the options in my
dns configuration), but I'd really like to change that!
Thanks,
Matt
> No luck, still redirects to snoopy.com... I have woodstock.snoopy.com
> and woodstock.com in my vhost file.
You might change the order of the
<VirtualHost *>
...
</VirtualHost>
entries.
Floor