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

I got the same issue, just need to remove the AAAA record, which redirects your domain to Sedo (a domain parking service to sell domain), then Sedo checks your domain not valid to sell, so it redirects user to yourdomain.com/defaultsite


In 1and1 ionos FTP root folder, by default there's an index.html file which is causing the trouble and contains the troublesome "defaultsite" code snippet. If you install wordpress in the root directory, this file is served INSTEAD of the necessary wordpress index.php file. So, the solution is to rename the troublesome file to BACKUP_index.html (or delete it) and the gears will start turning again. Viola!

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