Forum Moderators: phranque

Message Too Old, No Replies

Site doesn't work without www.

But it did before?

         

ahmedtheking

10:10 am on Mar 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Any ideas why a site would just 'time out' if www. isn't included in the URL? I haven't changed anything. The 'servername' is without www. and the htaccess file just moves from sitename.tld to www.sitename.tld. Any ideas?

jdMorgan

2:19 pm on Mar 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Chack your DNS zone file, and make sure that there is an "A record" for the www subdomain, or that there is a wild-card that specifies both the domain itself and all subdomains,

For example:

example.com. IN A 192.168.10.11
www.example.com. IN A 192.168.10.11

-or-

*.example.com. IN A 192.168.10.11

If either of these are already present in your DNS zone file, then it's likely that your host has changed something in your server configuration without telling you -- For example, removed a ServerAlias directive from the <VitualHost> container for your site.

If you find anything that has "magically changed," then you need to look into the security of your site, because you may be the victim of malicious (or incompetent) tampering. Change all passwords related to the site, and be sure to use "strong" passwords -- use a long password made up of uncommon words or random letters, uppercase and lowercase, including numbers and valid punctuation characters.

Jim