Maxim
Maxim

Reputation: 121

How to add a record to a domain on GCP App Engine?

I have a domain given by GCP myDomain.appspot.com by default. I need to add a record to redirect 'www' subdomain to an IP adress. (www used for an API connection) Is it possible?

Upvotes: 0

Views: 71

Answers (1)

Corinne White
Corinne White

Reputation: 446

You can set up a custom domain and subdomains via App Engine settings in the console. The documentation gives step by step instructions on how to do it. Then you can use a dispatch.yaml file to map requests to a specific service of your app.

However there's no way to map static IP addresses to an application. This is because App Engine services use a pool of IP addresses that are subject to change over time.

Upvotes: 1

Related Questions