Serving Multiple APIs from a Domain

This page shows you how to run multiple independent APIs on your own custom domain (for example,

Before you begin

To use a custom domain, follow the instructions in Verifying a Domain Name. During that process, you must confirm ownership of the domain. This confirmation allows you to deploy and service APIs on any of its subdomains.

For example, if domain ownership is established for, service names can include subdomains of such as or

Deploying an API on a Subdomain

The following example deploys the API to the subdomain

  1. In your gRPC API configuration file, set the name field to and set the other fields as described in Configuring Endpoints.

  2. Deploy the Endpoints configuration.

  3. Deploy the API backend.

Now you can send requests to and view graphs of those requests on the Endpoints dashboard.

Deploying Your Next API

To deploy another API, repeat the steps detailed above, changing the subdomain to the subdomain you are using for the next API.

Send feedback about...

Cloud Endpoints with gRPC