Skip to content

Instantly share code, notes, and snippets.

@paulfarino
Last active August 26, 2017 04:30
Show Gist options
  • Save paulfarino/ed7dd1e9c32abffa1f83376a2a78ee5a to your computer and use it in GitHub Desktop.
Save paulfarino/ed7dd1e9c32abffa1f83376a2a78ee5a to your computer and use it in GitHub Desktop.
Custom Domain on PWS

Org Name: myorg
Space: mycustomspace
Name of App: testapp
Custom Domain Name: domain.com


cf create-domain myorg domain.com

cf create-domain [org name] [custom domain name]

cf create-route mycustomspace domain.com -n testapp

cf create-route [space] [custom domain name] -n [name of app]

cf map-route testapp paulfarino.com

cf map-route [name of app] [custom domain name]


Want to check the route? cf check-route testapp domain.com

cf check-route [name of app] [custom domain name]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment