将域名链接到Rackspace Cloud

我是新来的服务器pipe理,并想要如何做到这一点的build议。

这是我到目前为止所做的:

  1. 在我们域名的注册商处,我设置了Rackspaces的域名服务器(dns1.stabletransit.com&dns2.stabletransit.com)

  2. 在服务器的Linux上,我创build了一个虚拟主机来连接域名和正确的文件夹(它的工作原理)。

  3. 在Rackspacepipe理界面中,我添加了这样的新域:

    Name Content Domain Name TTL (Seconds) Type *.<the domain name> <the instance IP> <the domain name> 300 A <the domain name> <the instance IP> <the domain name> 300 A www.<the domain name> <the domain name> <the domain name> 300 CNAME <the domain name> dns1.stabletransit.com <the domain name> 3600 NS <the domain name> dns2.stabletransit.com <the domain name> 3600 NS 

我不知道它是否会工作,因为我不得不等待在DNS服务器之间分配DNS。

但这里是我不明白:Rackspace实例不会让我删除包含NStypes的最后一行。 我想我可以删除它们,因为我已经在注册服务机构中声明了这些types。

是的,最后2行不是必需的。

您可以使用以下命令testing您的域是否可以被Rackspace DNSparsing,

 $ dig @dns1.stabletransit.com <your domain name> 

尝试删除所有条目并重新创build它们,而不用最后两行。