Currently, Cloud Foundry (CF) doesn't support mapping of external URL's (See ). The workaround is to use a reverse proxy. For this job, I hosted it Google App Engine (GAE) and used . Credits to yufeiwu for the free reverse proxy app.Prerequisite:
-
- Also, please read the for the development environment and pushing your app to Google server. Steps :
- the reverse proxy library (license: LGPL) in
- Modify bs2grpconfig.py
- set TARGET_HOST to your cloud foundry urle.g. TARGET_HOST = "mvergel.cloudfoundry.com"
- set your registered application id
I will continue to use this approach for until CF have a proper DNS support. [UPDATE] Many are encountering a problem with the session using this method. that fixes this issue. Thank you Marius Anton for the information.