此内容没有您所选择的语言版本。
11.10. Custom Domains and SSL Certificates
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 复制链接链接已复制到粘贴板!
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_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
Example 11.13. Adding a Custom Domain Name
rhc alias add racer fast.cars.com
$ rhc alias add racer fast.cars.com
RESULT:
Alias 'fast.cars.com' has been added.
View domain name aliases and SSL certificate status with the following command, specifying the application name:
rhc alias list App_Name
$ rhc alias list App_Namerhc alias list App_Name
Example 11.14. Viewing Custom Domain Names
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_Name
$ 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