Reputation: 767
I have my own private domain name and I would like use this domain name instead of a subdomain from "scapp.io" from the swisscom cloud foundry plattform. Is this possible? How can I achieve this? Which domain server from swisscom can I use and how can I add my DNS records? Is it also possible to use SSL certificates?
Upvotes: 2
Views: 286
Reputation: 23
Follow these steps:
yourdomain.ch
)www.yourdomain.ch
)yourapp.scapp.io
)yourdomain.ch
with the name www
and the target yourapp.scapp.io
(note that you may or may not need to add a dot at the end: yourapp.scapp.io.
, this depends on your provider)This way, a request to www.yourdomain.ch
is (transparently) routed to yourapp.scapp.io
. Worked well for me.
According to recent news, SSL with Let's Encrypt should now be possible, which is fantastic news. However, I was not able to activate it yet.
Upvotes: 1
Reputation: 2592
See Routes and Domains about detailed instructions. I recommend docs.developer.swisscom.com, there should be all use cases described.
Domains in App Cloud provide a namespace from which to create routes. The presence of a domain in App Cloud indicates to a developer that requests for any route created from the domain will be routed to App Cloud. This provision requires DNS to be configured out-of-band to resolve the domain name to the IP address of a load balancer configured to forward requests to the CF routers.
At the moment SSL certificates are not possible, but it's on the road map. Please read the newsletter for future announcement.
Upvotes: 0