How to add a custom domain to IBM cloud engine

193 Views Asked by At

we are migrating from IBM Cloud Foundry Orgs (as they are depreciated) to ibm cloud engine.

but what seems impossible is the "routes" option that was available in CF (cloud foundry). With CF we could just CNAME the custom domain to eu-de.cf.appdomain.cloud and add it to the routes of the application.

With cloud engine, the only way we can setup a custom domain is explained here, but this requires an extra service from cloudflare.

Is there a way to migrate the CF setup to IBM cloud engine without the Cloudflare worker?

2

There are 2 best solutions below

1
S. Moser On BEST ANSWER

At the moment that is not possible. That being said the Code Engine team is working on a solution to enable this without requiring requiring an extra service (although the proposed cloudflare service in the blog is free AFAIK)

2
data_henrik On

Another option is to deploy a proxy on your own and use it to handle the domains. I have used Traefik for it, but nginx and others should work, too. I deployed the proxy to a Kubernetes cluster which worked well.