How to Setup Custom Domain for Google App Engine Application?

How to Setup Custom Domain for Google App Engine Application?



22 May 2019

Google’s App Engine is a Platform as a Service (PaaS) that provides features and web frameworks to easily build scalable web applications. App Engine applications are easy to manage your traffic and data storage as per need.

Anyone can create applications and deploy them to the Google App Engine. As a web application is created using the App Engine, the application is assigned with a unique project ID. We can choose a default generated project ID or create a custom one. The URL to access the app engine application will be like “<project-id>”. For example, if the project ID is test123, then the URL will be

However, this sort of domain name may create multiple security issues. In place of the default address, you can serve your application with your own domain name (such as You can do a domain mapping for your App Engine application so that it will use a custom domain.

So, let’s start with mapping app engine application via a custom domain.

Before you begin, ensure that you have a domain name which you want to use. If you don’t have one, then purchase a new domain. You can purchase any domain name registrar, including Google Domains.

Follow the steps given below:

  1. Log in to the Google Cloud Platform Console.
  2. Navigate to App Engine -> Settings

  3. Navigate to the “Custom Domains” tab and then click on “Add a custom domain”. If you do not have a custom domain name yet, purchase one from a domain name by clicking on “Register a new domain”.
  4. Enter your custom domain name in the text box “Select the domain you want to use” as shown in the following screenshot. Then, click on the “Verify” button and perform the steps to verify that you own that custom domain.
  5. Make sure that your domain has been verified successfully. If not, you will not be able to proceed further.
  6. After verifying the domain, return to Google Cloud Platform (GCP) Console.
  7. Choose the application for which you want to assign this custom domain name and then click “Save mappings”.
  8. After this, you will see the DNS records. Please go to your domain registrar website and update the noted DNS records in your DNS configuration. It may take some time for updating the records.

Congratulations! We have done with mapping app engine application via a new custom domain.

Check your app by browsing it via new domain URL, for example, To know more about these you can always go to Google Doc.

Blog Categories
Request a quote