OpenShift V3的DNS条目 [英] DNS Entry for an OpenShift V3

查看:125
本文介绍了OpenShift V3的DNS条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近购买了一个域名,并且正在尝试将该域名重定向到OpenShift v3网络应用程序. (这是我第一次设置这样的内容,所以请无知.)通常,OpenShift提供一个主机名,例如:

I've recently bought a domain name, and I'm trying to redirect this domain name to an OpenShift v3 web app. (It is my first time setting up things like this, so bear with my ignorance.) Normally, OpenShift provides a hostname, something like:

myapp-myproject.preview.openshiftapps.com

基于与域名注册公司(而不是GoDaddy)的支持进行的对话,我需要从Web Hosting提供程序中获取一些静态IP才能添加到DNS条目或NameServer,以链接到我的域名(在我的域名中)帐户页面).看来他们不知道像OpenShift这样的PaaS公司没有为托管的Web应用程序提供静态IP.

Based on conversation with support of my domain name registry company (not GoDaddy), I need to have some static IP from my Web Hosting provider to add to the DNS Entry or NameServer to link to my domain name (in my domain name account page). It looks like they don't have a clue that PaaS company like OpenShift don't provide a static IP for hosted Web applications.

我所做的是从OpenShift获取上述URL,并将此DNS条目添加为CNAME类型,但仍然无法正常工作.

What I did, is to get the above URL from OpenShift and add this DNS entry as CNAME type, which still didn't work.

这里有人知道,我应该从OpenShift那里得到什么,以便将我的域名和网络应用绑定在一起?

Anyone here who has an idea, what I should get from OpenShift in order to tie my domain name and web app?

推荐答案

应使用CNAME方法.在这种情况下,您不需要静态IP地址,但可以使用OpenShift入口点的FQDN.然后,您还需要通过FQDN在OpenShift中公开该服务,而不要让它使用生成的服务.

The CNAME approach should be used. You don't need a static IP address in that case but would use the FQDN of the OpenShift ingress point. You then also need to expose the service in OpenShift via your FQDN and not let it use the generated one.

但是,如果您使用的是OpenShift V3开发人员预览,则我认为未启用自定义域的使用.我知道在开发人员预览中拥有自定义主机名的唯一方法是在前面使用代理服务.

If you are using the OpenShift V3 developer preview though, I believe use of custom domains is not enabled. The only way I know to have custom host name with the developer preview is to use a proxy service in front.

顺便说一句,请注意,开发者预览版仅向您提供时间限制帐户.您不应将其用于真实的网站.

BTW, do note that the developer preview only provides you a time limited account. You should not use it for real web sites.

这篇关于OpenShift V3的DNS条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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