Starting OpenShift cluster with public host name

By default it will start with 127.0.0.1 if you don’t specify any specific public hostname.

# oc cluster up

However one of the command line parameters of the oc command will allow you to specify this value

oc cluster up --public-hostname='somehostname' 

Then you will be able to navigate to https://somehostname:8443 to view the console.