create-route - Cloud Foundry CLI Reference Guide |
cf create-route DOMAIN [--hostname HOSTNAME] [--path PATH]
Create a TCP route:
cf create-route DOMAIN [--port PORT]
cf create-route example.com # example.com
cf create-route example.com --hostname myapp # myapp.example.com
cf create-route example.com --hostname myapp --path foo # myapp.example.com/foo
cf create-route example.com --port 5000 # example.com:5000
Nome do host para a rota HTTP (necessário para domínios compartilhados)
Caminho para a rota HTTP
Port for the TCP route (default: random port)