此内容没有您所选择的语言版本。

11.10. Custom Domains and SSL Certificates


Custom domain aliases are designated so that applications can use custom DNS entries rather than the domain generated by the system. Note that a CNAME record with your DNS provider is required for custom aliases to work correctly.
Custom SSL certificates with domain aliases are available for added security, but must be enabled by a system administrator. See the OpenShift Enterprise Administration Guide at https://access.redhat.com/site/documentation for more information.
Management Console

Click on an application name in the My Applications tab in the Management Console to view custom domain name and SSL certificate management options for the selected application.

11.10.1. Managing Custom Domain Names

Adding a Custom Domain Name

Add a custom domain name to an application with the following command, specifying the application name and custom domain name:

$ rhc alias add App_Name Custom_Domain_Namerhc alias add App_Name Custom_Domain_Namerhc alias add App_Name Custom_Domain_Namerhc alias add App_Name Custom_Domain_Name
Copy to Clipboard Toggle word wrap

Example 11.13. Adding a Custom Domain Name

 $ rhc alias add racer fast.cars.com
RESULT:
Alias 'fast.cars.com' has been added.
Copy to Clipboard Toggle word wrap
Viewing Custom Domain Names

View domain name aliases and SSL certificate status with the following command, specifying the application name:

$ rhc alias list App_Namerhc alias list App_Name
Copy to Clipboard Toggle word wrap

Example 11.14. Viewing Custom Domain Names

 $ rhc alias list racer

Alias         Has Certificate? Certificate Added
------------- ---------------- -----------------
fast.cars.com yes              2013-08-05
quick.cars.com no
Copy to Clipboard Toggle word wrap
Removing a Custom Domain Name

Remove a domain name alias from an application with the following command, specifying the application name and the custom domain name to be removed:

$ rhc alias remove App_Name Custom_Domain_Namerhc alias remove App_Name Custom_Domain_Namerhc alias remove App_Name Custom_Domain_Namerhc alias remove App_Name Custom_Domain_Name
Copy to Clipboard Toggle word wrap

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat