2

I have updated the .htaccess file so that when someone types in example.com, they are redirected to www.example.com. This works great on my computer, but when I try it on my cell phone is does not redirect. Instead I get the "Webpage not available" message. Does anyone know why? I've designed many websites and have never run into this problem.

  • What previously happened before you put in the redirect? – MrWhite Dec 1 '13 at 19:15
  • 1
    This seems highly unlikely to be related to the redirect. – Stephen Ostermiller Dec 1 '13 at 19:45
  • I didn't check before, but I took out the redirect and I still get the same thing on my phone. Any suggestions?? – Lori Dec 1 '13 at 20:46
  • 1
    Have you tried connecting on your cell phone via a Wi-Fi network instead of your cell network (or vice-versa)? It is possible that your cell operator or ISP is caching the old version of the site before you set up the redirect. – Nick Dec 1 '13 at 23:14
  • 1
    You seem to have deleted the DNS records for your non-www name as they don't resolve on my machine. I can't access the website without www, and I'm on a desktop. – Brendon Dec 2 '13 at 0:28
2

The problem is with your DNS configuration. There is no DNS record for byerswrecker.com so it won't resolve to any IPs, but www.byerswrecker.com resolves to your hosting provider IP and works! You should have DNS cached on your PC but not on your phone, so it works on your PC but not on your phone.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.