Hello,
I have just setup a subdomain, say called "sub1.domain1.com" which works fine, but it doesn't work if I add a www, i.e. "www.sub1.domain1.com", how would I get it to work with it?
I don't know if these configs are correct or not but here they are:
DNS Config for sub1.domain1.com
Code:
www IN CNAME sub1.domain1.com
tweetsee IN CNAME domain1.com
tweetsee IN A 12.34.56.78
tweetsee IN MX sub1.domain1.com
VHosts Config
Code:
<VirtualHost *:80>
ServerName sub1.domain1.com
ServerAlias sub1.*
ServerAdmin admin@domain1.com
DocumentRoot /var/www/domain1.com/sub1/public_html
</VirtualHost>
Thanks