- NAME
-
- gcloud app domain-mappings create - creates a domain mapping
- SYNOPSIS
-
-
gcloud app domain-mappings createDOMAIN[--certificate-id=CERTIFICATE_ID] [--certificate-management=CERTIFICATE_MANAGEMENT] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Creates a domain mapping.
- EXAMPLES
- To create a new App Engine domain mapping with an automatically managed
certificate, run:
gcloud app domain-mappings create 'example.com'Note: managed certificates do not support wildcard domain mappings.
To create a domain with a manual certificate, run:
gcloud app domain-mappings create '*.example.com' --certificate-management = manual --certificate-id = 1234To create a domain with no associated certificate, run:
gcloud app domain-mappings create '*.example.com' --certificate-management = manual - POSITIONAL ARGUMENTS
-
-
DOMAIN - A valid domain which may begin with a wildcard, such as:
example.comor*.example.com
-
- FLAGS
-
-
--certificate-id=CERTIFICATE_ID - A certificate id to use for this domain. May not be used on a domain mapping
with automatically managed certificates. Use the
gcloud app ssl-certificates listto see available certificates for this app. -
--certificate-management=CERTIFICATE_MANAGEMENT - Type of certificate management. 'automatic' will provision an SSL certificate
automatically while 'manual' requires the user to provide a certificate id to
provision.
CERTIFICATE_MANAGEMENTmust be one of:automatic,manual.
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- These variants are also available:
gcloud alpha app domain-mappings creategcloud beta app domain-mappings create
gcloud app domain-mappings create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

