1

I have no redirect header defined anywhere in my server. But when accessed from mobile phone my client's domain (without www.) renders correctly:

                                          When accessing without www.

But when it is accessed with www included, it redirects me to some other site. Which seems like is operator specific site:

                                          accessing the site with www

What's the cause and how to avoid this redirection?

PS: I'm hosting this site as as add-on domain with my multiple domain hosting plan if it helps.

  • If you exclude for sure .htaccess or cpanel problems, try doing this: create a brand new html page and access it using www. Also: are you using a CMS? – lucgenti May 29 '15 at 13:53
  • Do also a scanner check with tools like sitecheck.sucuri.net – lucgenti May 29 '15 at 13:55
  • 1
    Maybe my operator can't find anything at www and redirecting to it's own portal? All those dns stuffs? – Santosh Kumar May 29 '15 at 14:15
  • If your site is safe, that's the most plausible cause. Create on cpanel a redirection from www. to none. – lucgenti May 29 '15 at 14:45
4

Presumably you don't have a CNAME record for the www subdomain - so the DNS does not resolve? As you suggest in comments, in such cases, some mobile operators (or in fact some 3rd party DNS servers) intercept the response and serve their own content. Very annoying as it makes it difficult to test for invalid requests - the real response code is often masked.

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.