gcloud app domain-mappings create Stay organized with collections Save and categorize content based on your preferences.
- 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=1234To 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.comor*.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 the
gcloud appssl-certificates listto 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_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:
gcloudalphaappdomain-mappingscreategcloudbetaappdomain-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.