设置将域连接到服务器的记录

发布于 2025-01-20 15:32:51 字数 1565 浏览 4 评论 0原文

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

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

发布评论

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

评论(1

甜柠檬 2025-01-27 15:32:51

可能有2个选项:

  1. 致电您的ISP ,并询问他们是否提供静态IP作为您服务的选项(取决于您的住所,这可能是昂贵的,而不是可用于家庭连接)。然后将DNS A指向您的新修复IP。

  2. 使用诸如“ no-ip”之类的服务:在这种情况下,您必须将cname(而不是记录)关联到no-ip的子域,它们将重定向到您的家用动态IP。

现在考虑到这两种情况,您需要使用路由器DDN的功能以及其他设置(例如端口转发)将该域转发到本地计算机。

It's possible, there are 2 options:

  1. Call your ISP, and ask if they offer a static IP as an option for your service (depending on where you live, this could be expensive, and not available for home connections). Then point the DNS A to your new fix IP.

  2. Use a service like "No-IP": In this scenario you have to associate a CNAME (instead of a A Record) to a subdomain from No-IP, and they will redirect to your home dynamic IP.

Now take into account, for those 2 cases, you'll need to forward that domain to your local computer using the function of DDNS of your router, plus another settings like port forwarding.

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