我的注册商是OVH,我的主机是AlwaysData,如何configurationDNS?

我在OVH拥有:

xxx.mydomain.com 

我想要它作为别名:

 yyy.alwaysdata.net 

我如何继续?

最后,我希望所有的要求:

 xxx.mydomain.com/whatever 

返回相同的:

 yyy.alwaysdata.net/whatever 

在浏览器中没有任何url重写。

我曾尝试将xxx.mydomain.com CNAME添加到OVH上的yyy.alwaysdata.net,但没有成功。

我应该在AlwaysData方面做些什么吗?

编辑(更新)

命令host的结果是:

 host xxx.mydomain.com xxx.mydomain.com is an alias for yyy.alwaysdata.net. yyy.alwaysdata.net has address 178.32.28.117 

nslookup命令的结果是:

 nslookup xxx.mydomain.com Server: 192.168.178.1 Address: 192.168.178.1#53 Non-authoritative answer: xxx.mydomain.com canonical name = yyy.alwaysdata.net. Name: yyy.alwaysdata.net Address: 178.32.28.117 

奇怪的是,一个新的IP地址已经出现,178.32.28.117:

 nslookup 178.32.28.117 Server: 192.168.178.1 Address: 192.168.178.1#53 Non-authoritative answer: 117.28.32.178.in-addr.arpa name = http7.alwaysdata.com. Authoritative answers can be found from: 

现在,当我去xxx.mydomain.com我有http://http7.alwaysdata.com/代替yyy.alwaysdata.net

在alwaysdata的pipe理页面 ,转到网站,然后编辑您的网站属性。 您可以在此添加与您的网站匹配的地址。 只需将xxx.mydomain.com添加为新地址并保存即可。

Alwaysdata网站设置

你做这件事的方法是Inline Redirect 。 您可以通过向注册商OVH注册此服务来完成此操作。

这将会有你。