En esta página, se muestra cómo ejecutar varias API independientes en tu propio dominio personalizado (por ejemplo, example.com).
Antes de comenzar
Para usar un dominio personalizado, sigue las instrucciones en Verificar un nombre de dominio.
Durante ese proceso, debes confirmar la propiedad del dominio. Esta confirmación te permite implementar y entregar las API en cualquiera de sus subdominios.
Por ejemplo, si se establece la propiedad del dominio para example.com, los nombres de servicio pueden incluir subdominios de example.com, como api.example.com o catalog.api.example.com.
Implementar una API en un subdominio
En el ejemplo siguiente, se implementa la API en el subdominio first_api.example.com:
En tu archivo de configuración de la API de gRPC, configura el campo name como first_api.example.com y los otros campos como se describe en Configurar Endpoints.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-04-09 (UTC)"],[[["This page details how to deploy multiple independent APIs on a custom domain, such as `example.com`."],["Before deploying APIs, you must verify domain ownership, enabling the use of any subdomains like `api.example.com`."],["To deploy an API on a subdomain, you must set the `name` field in your gRPC API configuration file to the desired subdomain."],["The process involves configuring Cloud Endpoints, deploying the Endpoints configuration, and deploying the API backend, with each API deployed on a different subdomain."],["To deploy another API you must repeat the steps changing the subdomain to the new one you will be using."]]],[]]