如何跨服务器或在 DNS 设置中设置动态子域
我有 www.did5.com 指向 google appengine 服务器
我想让 anyname.did5.com 指向 www.did5.com /anyname
地址栏中的url仍然是anyname.did5.com
我找不到使用 dns 设置(主机记录)的方法,
有人可以吗?
请帮忙..
I have www.did5.com point to google appengine server
I want to have anyname.did5.com point to www.did5.com/anyname
And the url in address bar still anyname.did5.com
I can't find the way to do by using dns setting (host records)
Can anyone do ?
Please help..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有同样的愿望,但必须从我的域名托管到 appengine 站点进行 HTTP 301 重定向。 它可以正常工作,但需要有一个可用的托管,而不仅仅是域名停放。
因此,请尝试编辑“.htaccess”文件,该文件必须位于站点托管的根目录中,
Have the same wish, but had to do HTTP 301 redirect from my domain hosting to an appengine site. It works normally, but it's required to have a working hosting, but not only domain parking.
So please try to edit ".htaccess" file, which must be in the root of site hosting, with
遗憾的是,App Engine 目前不支持“通配符”CNAME。 您必须专门对要使用的每个域进行 CNAME 并在控制面板中对其进行配置。 目前,执行您想要的操作的唯一方法是托管您自己的反向代理。
Unfortunately, App Engine doesn't currently support 'wildcard' CNAMEs. You have to specifically CNAME each domain that you want to use and configure it in the control panel. The only way to do what you want, currently, would be to host your own reverse proxy.