This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
您的客户可以创建
www
子域而不是www
A 记录,并将该域委托给您的 DNS 服务器。 然后,您可以决定应使用默认的*
A 记录将用户的 HTTP 请求发送到哪个网络服务器。Your customers could create a
www
subdomain instead of anwww
A record and the delegate this domain to your DNS server. You could then decide to which webserver this should send users' HTTP requests to with a default*
A record.我们托管自己的 DNS 服务器并指示客户端将域指向它们。 确实没有其他好的方法来处理它。 至于负载平衡,获取一个负载平衡器(专用硬件或软件设备)并将其设置为将信息从负载平衡器上的公共 IP 路由到服务器的私有 IP。 这使您可以灵活地在内部移动服务器,而无需更改公共 IP。
We host our own DNS servers and instruct the client to point the domain at them. There really is no other good way to handle it. As far as load balancing, get a load balancer (dedicated hardware or a software appliance) and set it up to route info from the public IPs on the load balancer to the private IPs of the server. This gives you the flexibility to move servers around internally without ever changing the public IPs.
您正在寻找的是动态 DNS 服务(有很多),或者只是运行您自己的 DNS 服务器并让您的客户让您的服务器对其域具有权威性。
What you're looking for is either a dynamic DNS service (there are many) or to just run your own DNS servers and have your clients make your servers authoritative for their domains.
在您的区域中创建 www.myhostingservice.example,并要求您的客户将 www.clientdomain.example 设置为指向 www.myhostingservice.example 的别名 (CNAME)。
Create a www.myhostingservice.example in your zone and ask your clients to make www.clientdomain.example an alias (CNAME) pointing to www.myhostingservice.example.