I purchased Linux hosting from 1and1.com. I added a domain registered elsewhere as an external domain to my 1and1.com account. I changed the DNS settings. I set up a home page for my site. When I browse to the site I get redirected to example.com/defaultsite (where example.com is my domain). When I browse to the home page explicitly I see my page flash and then it redirects to defaultsite.

I called 1and1 support and he made some changes to my home page. One thing he did is to remove the following:

<meta http-equiv="Refresh" content="0;url=defaultsite" />

Without that I get my home page as the default page and everything works. When I add that back in, the problem happens again. I remove it again and the site works.

  • 1
    That would cause the problem, I'm glad you were able to find the issue. – Stephen Ostermiller Jun 10 '17 at 10:37
  • 1
    It seems weird to me that they put this in their default HTML?! – Leonard Challis Sep 21 '17 at 6:34

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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