HTML 掩码 url 与另一个 url

发布于 2024-10-02 02:56:44 字数 326 浏览 1 评论 0原文

我有两个域,一个是 .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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

此生挚爱伱 2024-10-09 02:56:44

您的第二个域的提供商不允许您更改 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文