I've raised a funding round of £10,000! Grab an exclusive hosting plan while you can! Check it out ›

My www.domain.com doesn’t work, but domain.com works fine (or vice-versa) - what’s up?

2018-10-14 00:38:15
  • Solved
Sort by:
  • Image
    Thinking of a bio :)

    If you get this behaviour after a recent update to your website or a newly-created package, you're almost certainly experiencing a DNS propagation delay. It will resolve itself in a matter of hours. The assumption is that when you previously visited your website you visited using www.domain.com and not domain.com (without the www). Thus, your DNS resolvers have the lookup of www.domain.com stored in their cache. 

    When you try to view www.domain.com again, you get your DNS resolvers' cached value which is the old IP address. However, when you checked the domain with just "domain.com" (no www) your DNS resolvers didn't have an answer in their cache so fetched the new (correct) IP address for the domain. Hence "domain.com" works for you but "www.domain.com" doesn't. 

    The only solution here is to wait for the cache to expire on your resolver, and then when you visit the domain again a fresh lookup with be made and the new IP will be stored. If you're using the StackDNS nameservers, this should take no longer than 1 hour.

    10 months ago
Know someone who could use Hyper Host? Refer them and make money today! Become an affiliate ›