This page describes how to renew a domain that has expired within the previous 30 days.
To renew your domain, complete the following steps.
gcloud
Use the
gcloud domains registrations renew-domain
command:
gcloud domains registrations renew-domain DOMAIN_NAME \ [--yearly-price=YEARLY_PRICE]
Replace the following:
DOMAIN_NAME
: the name of the registered domain that you want to renew—for example,example.app
.YEARLY_PRICE
: the yearly price, followed by a currency code (for example, 12.00 USD). The--yearly-price
flag is optional. If you omit this flag, gcloud CLI prompts you to confirm the yearly price. For information about pricing, see Cloud Domains pricing.
API
Use the
registrations.renewDomain
method:
POST https://domains.googleapis.com/v1/projects/PROJECT_ID/locations/global/registrations/DOMAIN_NAME:renewDomain { "yearlyPrice": { "currencyCode": "CURRENCY_CODE", "units": NUMBER_OF_UNITS } }
Replace the following:
PROJECT_ID
: the name of your projectDOMAIN_NAME
: the name of the domain that you want to renewCURRENCY_CODE
: the three-letter currency code defined in ISO 4217—for example,USD
.NUMBER_OF_UNITS
: the yearly price in units. For example, if thecurrencyCode
isUSD
, then one unit is equal to one US dollar. For information about pricing, see Cloud Domains pricing.
What's next
- To view a list of your registered domains, see List registered domains.
- To access API information, see the Cloud Domains API.
- To find solutions for common issues that you might encounter when using Cloud Domains, see Troubleshoot Cloud Domains.