Quackquack
Quackquack

Reputation: 41

How do you connect an IBM Cloud Functions (OpenWhisk) to a custom domain?

I had successfully setup a custom domain with IBM Cloud Functions in the past, but now suddenly it seems to be broken.

Here is how I was able to do it in the past: You first need to install a SSL cert in IBM Cloud by going to:

  1. Log in to IBM Cloud
  2. Go to Manage>Accounts>Cloud Foundry Orgs.
  3. Click on your Org and then click Edit Org.
  4. Choose the Domain tab, add a domain, and install the SSL cert that was purchased or obtained for free by letsencrypt.org
  5. Go to Cloud Functions page by clicking on the Hamburger menu and then click Functions.
  6. Click APIs on the sidebar.
  7. Choose an existing API you would like to map to the domain.
  8. Choose Definitions from the sidebar.
  9. Select Domain for API and change it your new domain!

YAY, IBM Cloud says it is now connecting your custom domain. You get a warning about how it takes a bit of time, but the task never finishes.

This actually worked until about a month or so ago. Now it just sits there and it will not route your domain to your API.

If you hit the site you which is routed, it will say:

404 Not Found: Requested route ('yourdomain.com') does not exist.

Am I missing something? Or has IBM again crapped out on me.

Upvotes: 1

Views: 397

Answers (1)

Matt Hamann
Matt Hamann

Reputation: 1668

There was a bug affecting this feature, but it has since been fixed. Give it another try.

Upvotes: 0

Related Questions