Site hosted with 1and1 redirects to defaultsite

Site hosted with 1and1 redirects to defaultsite - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Site hosted with 1and1 redirects to defaultsite error on your web browser. Problem :


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.


Solution :

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.



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!


We hope that this article has helped you resolve the web-hosting, redirects, 1and1 error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=