Ce contenu n'est pas disponible dans la langue sélectionnée.

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

Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat