The title basically says it all. I changed the DNS settings of a domain back on the 4th May and still to this day (so 14 days / 2 weeks) it's still not accessible to everyone (including me) with the 'www.' at the beginning, yet not using the 'www.' does work. The domain name is on my GoDaddy account and I've got it using the default DNS settings on my [Plesk] VPS. Anyone know the reason for this? (Also a note: DNS changes are "supposed" to be all sorted by 72 hours... it's been way LONGER than that)
OK, quickest way would be to create the www DNS record as a CNAME to the 'non-www' version. You have to wait for the DNS server itself it update, then all the other DNS servers around the world with the previous results cached to update their caches as well. If you need more help but don't want to give the domain name on the forum, send me a PM with it in and I'll have a look to see what servers are authorative for those records, etc.
Address. With DNS records, an A record means that there is an IP address assigned to that domain name
A is the address (IP Address) so, you have domain.com as A you setup a subdomain as C i.e. A domain.com "123.123.123.123" C www.domain.com "domain.com"
Also while your at it, set up ww. and wwww. as sub domains. I bet everyone has gone to type a website, www.domain.co.uk and only typed two w's i.e. ww.domain.co.uk or even double pressed the key to get four w's i.e. wwww.domain.co.uk. Help visitors to your websites that do this easy mistake. In DNS add ww. and wwww. to my C name. In apache add the following into the Apache conf in the VirtualHost... ServerName domain.co.uk ServerAlias ww.domain.co.uk ServerAlias www.domain.co.uk ServerAlias wwww.domain.co.uk All of these are setup and working, you can enter ww.domain.co.uk and it loads the site. Next is to send the ww. to www. etc In .htaccess RewriteCond %{HTTP_HOST} ^domain\.co\.uk$ [NC,OR] RewriteCond %{HTTP_HOST} ^ww\.domain\.co\.uk$ [NC,OR] RewriteCond %{HTTP_HOST} ^wwww\.domain\.co\.uk$ [NC] RewriteRule ^(.*) http://www.domain.co.uk/$1 [L,R=301] Done! improve direct traffic
In your dns server settings (zone file in /var/named/domain.com.db) you need to include CNAME record for www. That should work!