New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Nameserver question
thedarkfox
Member
in Help
Kind of a noob question here but how do I set my nameservers correctly so that my site pulls up with or without the www? Right now y subdomains only open without the www
Thanks
Comments
Add the www A or CNAME record for the subdomains.
subdomains don't use www,
www is a subdomain
Try not to use CNAME, unless there is no alternative and do not every use CNAME for MX record,
only time that a CNAME is required is when you want to alias a host in the current domain to an external domain.
when you use a cname you are making the dns server do more work,
if using configuration below, the dns server will need to lookup A record
for painfreepc.com to get ip for www.painfreepc.com and ftp.painfreepc.com
Below is Maradns zone file (without CNAME ) for my domain painfreepc.com
http://www.dnsinspect.com/painfreepc.com/1389803933
( yes i know marsdns has a shortcut to append the domain name )
Also www (ServerAlias) needs to be in the VirtualHost