Verifying a Domain Name

This page describes how to verify your ownership of a domain name that you want to use for your API running on Google Cloud Platform.

Note that if you don't have your own domain name, you can use the [API-NAME].endpoints.[PROJECT-ID].cloud.goog service name.

Note that when using the App Engine flexible environment, a DNS name in the .appspot.com domain is created for you automatically. However, when using the Compute Engine, or Container Engine environments, you would need to configure DNS separately from the Load Balancers that those environments provide.

Verifying ownership

If you want to use a domain name as the name of your service, you must prove that you are authorized to use the domain. Only the user account that has verified ownership of the domain name can deploy the API initially. After that first API deployment, project members with Editor permissions can deploy it.

To verify that you own the domain name:

  1. Go to the Google Webmaster Central to add the domain.
    Webmaster Central

  2. Click Add a Property.

  3. Enter your domain URL and click Continue.

  4. In the verifications methods page, open the Alternate methods tab.

  5. Select Domain name provider.

    Webmaster Central UI

  6. Follow the directions provided in the Webmaster Central tab, then click Verify.

Delegating to developers

After you are verified as a domain owner in Web Central, you can optionally delegate access to subdomains to developers within the organization. This allows those developers to create Cloud Endpoints APIs without having to verify domain ownership themselves.

For more information on delegating, see Managing users, owners, and permissions.

Configuring your domain for SSL

You may want to configure your domain for SSL. Note that some types of authentication require SSL.

What's next

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Endpoints with OpenAPI