HTML 掩码 url 与另一个 url
我有两个域,一个是 .com 域,另一个是 .ca 域。我当前的主机(在 .com 域上)不允许我注册 .ca 域,因此我向 Netfirms 注册了一个。 Netfirms 不允许我将命名空间更改为其他主机的命名空间,因此我需要一种方法来显示一个 url,但查看不同的 url。
例如: 用户访问 www.googleabcdefg.ca。
www.googleabcdefg.ca 显示 www.google.com 的信息,但实际上并未将用户重定向到 www.google.com。此外,当用户单击链接时,www.googleabcdefg.ca 地址仍保留,不会转到 www.google.com
I have two domains, one is a .com domain and the other is a .ca domain. My current host (on the .com domain) does not allow me to register .ca domains, so i registered one with Netfirms. Netfirms will not let me change the namespace to that of my other host, so i am in need of a way to show one url, but view a different url.
For example:
user visits www.googleabcdefg.ca.
www.googleabcdefg.ca displays the information of www.google.com without actually redirecting the user to www.google.com. Also when the user clicks a link the www.googleabcdefg.ca address remains and does not go to www.google.com
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的第二个域的提供商不允许您更改 DNS 条目?
在这种情况下,最简单的方法可能是更换为这样做的提供商。
为此,您当前的 Web 主机需要支持外部域,将其 DNS 记录指向您的包所在的 Web 服务器:与他们交谈以了解他们是否支持。鉴于他们不提供 .ca TLD,人们可能会期望他们允许您在其他地方购买。
Your second domain's provider doesn't allow you to change DNS entries?
In that case, the easiest way may be to change to a provider who does.
For that to work, your current web host needs to support external domains pointing their DNS records to the web server that your package is on: Talk to them to find out whether they do. Seeing as they don't offer the .ca TLD, one could expect them to allow you to buy it elsewhere.