Viewing domain details using rhc
In this recipe, you will learn how to view the details associated with a domain.
Getting ready
To complete this recipe, you will need to have rhc installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for instructions.
Also, you will need to have a valid domain associated with your account. Refer to the Creating a domain using rhc recipe in this chapter for instructions on how to create a new domain.
How to do it...
To view domain details, open a new command-line terminal and run the following command:
$ rhc show-domain --namespace <your domain name>
How it works...
The rhc show-domain
command returns the details of a domain and its applications. The output of the command is shown as follows. The details include the domain name, the owner's e-mail ID, other domain members, and the information of all the applications within it:
$ rhc show-domain --namespace devosbook...