大网数据广告活动
网站运营与故障问答

Site hosted with 1and1 redirects to defaultsite

· 52CE 我爱测

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 redirect…

问题原文

原帖链接 · Sam Hobbs · CC BY-SA 3.0

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.

社区高分解答

原帖链接 · Sam Hobbs · CC BY-SA 3.0

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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-02-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。