• 请不要在回答技术问题时复制粘贴 AI 生成的内容
iEverX
V2EX  ›  程序员

如何顶级域名定向到该顶级域名下的二级域名

  •  
  •   iEverX ·
    iEverX · Aug 24, 2012 · 5843 views
    This topic created in 5187 days ago, the information mentioned may be changed or developed.
    我有个域名 EverCoding.net,想要把这个域名定向到blog.evercoding.net。。应该怎么弄呢。。。
    顶级域名能CNAME吗?总是不成功

    没有空间,是搭在github pages上的。。
    10 replies  •  1970-01-01 08:00:00 +08:00
    reus
    reus
    Aug 24, 2012
    1
    可以用cname,或者url
    shuaige
    shuaige
    Aug 24, 2012
    2
    @reus dnspod url转发
    shuaige
    shuaige
    Aug 24, 2012
    4
    囧,我怎么@ 了人呀,手机又误点了-_-
    iEverX
    iEverX
    OP
    Aug 24, 2012
    5
    @reus @acecode
    我改了CNAME,总是这个错误信息。。(在Godaddy上)
    A record of a different type exists for the hostname @, could not create CNAME
    我看了下,只有MX里有两个host是@,可是把这两个@都改成mail,也会有这个提示。。
    reus
    reus
    Aug 24, 2012
    6
    @iEverX 用dnspod吧
    iEverX
    iEverX
    OP
    Aug 24, 2012
    7
    @reus
    嗯,刚刚已经改到dnspod上了
    YUCOAT
    YUCOAT
    Aug 25, 2012
    8
    把blog.example.com example.com这两个域名同时指向同一个IP,然后在.htaccess文件里面设置跳转,凡是访问example.com的,都跳转到blog.example.com
    cosmo
    cosmo
    Aug 25, 2012
    9
    用cname,
    dnspod不支持转发的!

    有域名出售,golang.com.cn,google的go语言!
    Frannk
    Frannk
    Aug 25, 2012
    10
    使用 dnspod 可以设置@的CNAME, 这是 dnspod 灵活的地方(不符和标准)。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1736 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 12:52 · PVG 20:52 · LAX 04:52 · JFK 07:52
    ♥ Do have faith in what you're doing.