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.
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!
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
protected by Community♦ Oct 25 at 4:40
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?