To use Google App Engine with your naked domain (a bare, apex, or root domain, e.g., example.com), you must configure your domain with Google App Engine and set up the proper DNS records.
Here’s a step-by-step guide on how to do this.
Step 1: Verify domain ownership
Before using your custom domain with Google App Engine, verify your domain ownership with Google Search Console. You can skip to the next step if you’ve already done this.
- Go to Google Search Console: https://search.google.com/search-console/welcome
- Sign in with your Google account and follow the steps to add and verify your domain.
Step 2: Add your custom domain to Google App Engine
- Go to the Google Cloud Console: https://console.cloud.google.com/
- Sign in with your Google account, and then select the appropriate project.
- In the left-side menu, click on the hamburger icon (three horizontal lines) and navigate to “App Engine” > “Settings.”
- In the “Settings” page, click on the “Custom Domains” tab, and then click on “Add a custom domain.”
- Add your naked domain (e.g., example.com) and any desired subdomains (e.g., www.example.com).
Step 3: Configure your DNS records
After adding your domain to Google App Engine, you’ll receive a list of DNS records you need to add to your domain’s DNS settings. These records typically include the following:
Arecord and an
AAAArecord for your naked domain (IPv4 and IPv6 addresses)
CNAMErecord for the
wwwsubdomain (or other subdomains) pointing to
To set up these records, log in to your domain registrar’s website, and access your domain’s DNS management panel. Add the DNS records provided by Google App Engine. Remember that DNS changes can take some time to propagate, so it may take up to 48 hours for your custom domain to start working with Google App Engine.
After completing these steps, your naked domain should be configured appropriately to work with Google App Engine. Please note that you might need to wait for the DNS records to propagate fully before your domain starts working as expected.
I hope this helps!
Amit Doshi is a Cloud Engineer who has experienced more than 5 years in AWS, Azure, and Google Cloud. He is an IT professional responsible for designing, implementing, managing, and maintaining cloud computing infrastructure, applications, and services.