weebly:一条记录映射
我想知道这是怎么做到的。我在 weebly 上创建了一个网站(它是一个网站构建器)。
我得到一个网站 xxx.weebly.com
如果我想要自定义域名,我将自定义域名的 A 记录设置为指向服务器:199.34.228.100
问题是,默认应用程序(在 199.34.228.100
上)如何工作,它会获取我的域名并向我显示网站内容?
I want to know how is this done. I make a site at weebly, ( it's a sitebuilder).
I get a site xxx.weebly.com
If I want my custom domain name, I set A record of custom domain name to point to server : 199.34.228.100
Question is, how that default application(on 199.34.228.100
) works which takes my domain name and show the content of the site to me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
假设您的自定义域名是“mysite.com”。在 weebly,您将 A 记录设置为 199.34.228.100,这就像说“当有人想要访问 'mysite.com' 时,我希望将他们发送到 199.34.228.100”。
此信息将在接下来的几个小时内提供给互联网上的所有 DNS 服务器,但有时可能需要更长时间。此后,每当发送“mysite.com”请求时,它将被映射到 199.34.228.100。
这是 weebly.com,当请求到达时,它将附带信息,表明原始请求是针对“mysite.com”的。然后,Weebly 会查看其记录,看看谁希望发生这种情况,查看您是否进行了更改,并知道您拥有 xxx.weebly.com,显示该网站。
我希望这有帮助
Suppose your custom domain name is 'mysite.com'. At weebly, you set the A record to 199.34.228.100 which is like saying 'when someone wants to access 'mysite.com' I want them to be sent to 199.34.228.100.
This information is given to all the dns servers around the internet over the next few hours but can sometimes take longer. Afterwards, whenever a request is sent out for 'mysite.com' it will be mapped to 199.34.228.100.
This is weebly.com and when the request arrives, it will come with information saying that the original request was for 'mysite.com'. Weebly then looks in it's records to see who wanted that to happen, see that you made the change and knowing that you have xxx.weebly.com, show that site.
I hope that helps
此过程称为域转发到外部 IP 地址。
有关重定向的信息按以下顺序设置:
1)
首先在 A 记录中 - 此信息意味着“yourdomain.com”上的所有互联网流量应转发到 weebly 静态 IP 地址(weebly 提供的多个地址之一)
2)
在 weebly 面板中进行更改以配置您的网页 - 输入“yourdomain.com”作为主网址
http://kb.weebly.com/domain-registrar.html
最好,
彼得
This process is called domain forwarding to external IP address.
The information about redirection is to be set in following order:
1)
first at A record - this information means that all internet traffic at "yourdomain.com" should be forwarded to weebly static IP address (one of several provided by weebly)
2)
make changes in weebly panel to configure your web page - entering "yourdomain.com" as main url
http://kb.weebly.com/domain-registrar.html
best,
Peter