域名转发(某种)

发布于 2024-10-09 21:07:30 字数 694 浏览 0 评论 0原文

我一直在尝试在不支持 innoDB 的共享托管服务器上设置 magento,因此这是不可能的。我想使用的域名也已向该垃圾托管提供商注册。 (one[dot]com 供任何人参考)。因此,我认为我可以将该域指向另一个支持它的托管提供商,但 one[dot]com 不允许我更改该域的名称服务器。他们只是这么说的:

您只能在我们的 DNS 设置中设置 IP 地址、CNAME 和网络转发,但不能更改名称服务器

是否有任何方法可以更改任何这些设置或 .htaccess 文件,例如

http://www.mydomain.com/folder/page.php?查询=字符串

将显示来自其他服务器的页面

http://xxx.xxx.xxx:xx/folder/ page.php?query=string

我已经创建了大量的站点来执行各种操作,但从来没有真正需要其他域管理方面的事情。

I have been attempting to set up magento on a shared hosting server that doesn't support innoDB, ergo its not been possible. The domain I want to use has also been registered with this rubbish hosting provider. (one[dot]com for anyones reference). So I thought I would be able to point this domain to a different hosting provider that DOES support it, but one[dot]com doesnt allow me to change nameservers for the domain. They just said this:

You can only setup IP address, CNAME and web forwarding in our DNS settings but not change of nameservers

Would there be any way to change any of these settings or the .htaccess file so that, for example

http://www.mydomain.com/folder/page.php?query=string

Would display a page from the other server

http://xxx.xxx.xxx:xx/folder/page.php?query=string

I've created loads of sits doing all sorts but never really needed to other with the domain administration side of things.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

流年里的时光 2024-10-16 21:07:30

您无需更改名称服务器即可将域映射到不同的服务器。如果“好的”提供商支持它(即允许您在非公司托管的服务器上注册域),只需将 A 和 MX 记录切换到新服务器的 IP 地址即可。

不过,您确实需要“良好”提供商的合作。

You don't need to change name servers to map a domain to a different server. If the "good" provider supports it (i.e. allows you to register a domain on the server that isn't hosted by the company), just switch the A and MX records to the new server's IP address.

You do need the cooperation of the "good" provider for this, though.

秉烛思 2024-10-16 21:07:30

如果他们允许您设置 IP 地址,则将 www.mydomain.com 的 IP 地址设置为 xxx.xxx.xxx.xx 应该可以解决问题。在另一台服务器上,您需要将其网络服务器设置为将 www.mydomain.com 作为虚拟域提供服务 - 如果您使用托管提供商,他们应该为您执行此操作;如果没有,设置起来应该相当容易(请参阅您所使用的网络服务器软件的手册)。

If they're letting you set up the IP address, then setting the IP address of www.mydomain.com to xxx.xxx.xxx.xx should do the trick. On the other server, you'll need its webserver to be set up to serve www.mydomain.com as a virtual domain - if you're using a hosting provider they should do this for you; if not it should be fairly easy to set up (consult the manual of whichever web server software you're using).

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