cf map-route <APP_NAME> <domain>

Add a url route to an app

Arguments

NameDescription
APP_NAME
domain

Options

NameDescription
--hostname, -n <hostname>Hostname for the HTTP route (required for shared domains)
--path <path>Path for the HTTP route
--port <port>Port for the TCP route
--random-portCreate a random port for the TCP route