2

I'm trying to set up a wildcard domain on Google Cloud Functions. I've seen here that it's doable for Google App Engine. But how to do it for Google Cloud Functions?

Let's say the wildcard is *.singlelisting.co. I would like to reach a function named bigben from any of these subdomains 6.singlelisting.co or ns324.singlelisting.co.

So a user would reach bigben by visiting https://6.singlelisting.co/bigben or https://ns324.singlelisting.co/bigben

Nicholas
  • 501
  • 2
  • 14
Frenchcooc
  • 910
  • 6
  • 20

1 Answers1

3

As far as I know the only way to get a custom domain for Cloud Functions is through Firebase Hosting.

Firebase Hosting does not support wildcard domain mappings, due to its reliance on letsencrypt.org for SSL certificates.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807