gcloud app domain-mappings create

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 managedcertificate, run:
gcloudappdomain-mappingscreate'example.com'

Note: managed certificates do not support wildcard domain mappings.

To create a domain with a manual certificate, run:

gcloudappdomain-mappingscreate'*.example.com'--certificate-management=manual--certificate-id=1234

To create a domain with no associated certificate, run:

gcloudappdomain-mappingscreate'*.example.com'--certificate-management=manual
POSITIONAL ARGUMENTS
DOMAIN
A valid domain which may begin with a wildcard, such as:example.com or*.example.com
FLAGS
--certificate-id=CERTIFICATE_ID
A certificate id to use for this domain. May not be used on a domain mappingwith automatically managed certificates. Use thegcloud appssl-certificates list to see available certificates for this app.
--certificate-management=CERTIFICATE_MANAGEMENT
Type of certificate management. 'automatic' will provision an SSL certificateautomatically while 'manual' requires the user to provide a certificate id toprovision.CERTIFICATE_MANAGEMENT must 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 help for details.

NOTES
These variants are also available:
gcloudalphaappdomain-mappingscreate
gcloudbetaappdomain-mappingscreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.