域名重定向和暂停
我有一个用 ASP.NET 开发的网站,并使用 godaddy 的共享 Windows 托管帐户托管在 Windows 服务器上。
我用 php 开发了我的网站的副本,并将我的 php 网站托管在免费托管服务(php、linux、mysql)上,并且运行良好。 这是在共享子域上。 示例 (mysite.freehostprovider.com)
现在我想继续使用免费托管服务。 因此,我希望将我的网站从 www.mysite.com 重定向到 mysite.freehostprovider.com,
因为我尚未支付 Windows 托管费用。 他们已停止托管我的网站。 但我的域名有效期至 2010 年。我需要做什么才能看到我的网站上线 @ www.mysite.com
我的免费托管提供商支持重定向。 我尝试过但没有成功。
任何帮助将不胜感激。
谢谢
I have a site developed in ASP.NET and hosted on a windows server using shared windows hosting account at godaddy.
I developed a replica of my website in php and hosted my php site on a free hosting service (php, linux, mysql) and its working fine. This is on a shared subdomain. Example (mysite.freehostprovider.com)
Now I want to continue using the free hosting service. So I would like my site to be redirected from www.mysite.com to mysite.freehostprovider.com
Since I have not paid for Windows hosting. They have stopped hosting for my site. But my domain is valid till 2010. What do I need to do to see my website go live @ www.mysite.com
My free hosting provider supports redirection. I tried but wasn't successful.
Any help will be appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要从域名注册商启用转发或重定向。 如果您使用的是 GoDaddy,请查看本支持文章的“转发域名”部分(第 4 页):http://help.godaddy.com/article/2227
You need to enable forwarding or redirection from your domain registrar. If it is GoDaddy you are using then check out the "Forwarding a Domain" portion of this support article (page 4): http://help.godaddy.com/article/2227
理想情况下,您会将 www.mysite.com 解析为 mysite.freehostprovider.com,但免费托管提供商可能不允许您这样做(他们将使用虚拟主机,因此您不能直接这样做)。
您可能应该再次尝试重定向。
Ideally you would CNAME www.mysite.com to mysite.freehostprovider.com, but a free hosting provider might not let you do that (they'll be using vhosts, so you can't just go ahead and do it).
You should probably give the redirection another go.