添加第二个cname for openshift [英] Add second cname for openshift

查看:178
本文介绍了添加第二个cname for openshift的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用

rhc alias add tutorial reboltutorial.net
rhc alias add tutorial www.reboltutorial.net

问题是我无法添加

CNAME   .reboltutorial.net  tutorial-rebol.rhcloud.com

到我目前的DNS记录

A   reboltutorial.net   198.XXX.YYY.ZZZ NA  3600        
CNAME   www.reboltutorial.net   tutorial-rebol.rhcloud.com

所以可以添加domain.com和www.domain.com到Openshift?

So is it possible to add both domain.com and www.domain.com to Openshift ?

更新:终于,甚至没有添加第二个CNAME reboltutorial.net 工作虽然我不明白如果有人可以向我解释:)

Update : well finally even without adding 2nd Cname reboltutorial.net works though I don't understand how if someone can explain to me :)

推荐答案

不,这是不可能的。您正在尝试将A记录(reboltutorial.net)指向一个URL,这是不允许的。

No that is not possible. You are trying to point an A record ( reboltutorial.net) to a URL and this is not allowed.

某些DNS提供程序称为裸域转发,因此您然后可以将您的A记录指向C记录或直接指向URL。

Some DNS providers to what is called naked domain forwarding and so you could then point your A record to a C record or direct to the URL.

更多内容在本博客文章中解释

More is explained in this blog post

https://www.openshift.com/blogs/ custom-url-names-for-your-paas-applications-host-forwarding-and-cnames-the-openshift-way

这篇关于添加第二个cname for openshift的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆