相关疑难解决方法(0)

添加 cname 而不放置子域

我想将 www.example.com 或 example.com 指向 abc.example2.com。

在 example.com 的 cname 区域设置中,我添加了一个 cname,如下所示:

名称:www.example.com 类型:cname 值:abc.example2.com

因此,当我访问 www.example.com 时,它向我显示了 abc.example2.com 的内容,这是绝对正确的。但是当我访问 example.com(没有 www 或任何其他子域)时,它不起作用。我什至尝试添加一个记录集如下:

名称:example.com 类型:cname 值:abc.example2.com

但它在 2 个不同的 DNS 托管网站中给了我以下错误:Route 53

RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.
Run Code Online (Sandbox Code Playgroud)

动态域名系统

CNAME cannot be created with label that is equal to zone name or in use for another record type.
Run Code Online (Sandbox Code Playgroud)

现在,如何在访问 example.com 时实现它应该显示 abc.example2.com 的内容?

cname-record subdomain

0
推荐指数
1
解决办法
1404
查看次数

标签 统计

cname-record ×1

subdomain ×1