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– MrWhite2013-12-01 19:15:59 +00:00Commented Dec 1, 2013 at 19:15
- 1This seems highly unlikely to be related to the redirect.Stephen Ostermiller– Stephen Ostermiller ♦2013-12-01 19:45:02 +00:00Commented Dec 1, 2013 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– Lori2013-12-01 20:46:04 +00:00Commented Dec 1, 2013 at 20:46
- 1Have 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– Nick2013-12-01 23:14:15 +00:00Commented Dec 1, 2013 at 23:14
- 1You 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 Boshell– Brendon Boshell2013-12-02 00:28:23 +00:00Commented Dec 2, 2013 at 0:28
Add a comment |
1 Answer
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.