How do I add a custom domain to my GAE app? Domain from GoDaddy - google-app-engine

I bought a domain from GoDaddy.com and I've been trying to connect that as a custom domain to my app engine project.
My project is a static website made in python using the flask framework. I currently have the stock url provided but I want to connect a custom domain purchased from GoDaddy. I updated the records under manage DNS settings on GoDaddy with the ones provided when I mapped my domain in the App Engine settings. I followed this tutorial on Google Cloud documentation.
What am I doing wrong? The site shows up as can't be found when I try to access it through the custom domain.

Related

next steps after deploying Django and react app to Azure app service

I am failry new to Clouad Service and I have a React and Django web app running on Azure app service.
Thing that I have done already.
Django and react app up and running fine locally.
2 docker Images with 2 containers deployed into Azure App service.
I have one azure resource registry and 1 app service with two docker containers (frontend and backend)
Both react and django are up and running in azure app service and are accessible using similar to following urls.
frontend.azurewebsites.net #This is just a sample name
djangorestapi.azurewebsites.net #This is just a sample name
I wanna publish this to public using domain. I am aware that I have to buy a domain and stuff. I would really appreciate if somebody can point out what are the next steps to follow. I wanna make it available to public.
Also, with new changes I need to fix my React restapi endpoits which I made it using Django Rest Framework.
If you'd like to customize your web app with a domain name other than the default azurewebsites.net, you can add a custom domain to your web app, also securing it with a free certificate from App Service Managed Certificates.
If you already have an existing custom DNS name, you just have to map it with your App Service. Make sure you can edit DNS records for your custom domain. If you don't have a custom domain yet, you can first purchase an App Service domain, and then map the App Service domain to your app.
Check this blog post for a detailed walkthrough.
Note: Your webapp's App Service plan has to be on any of the non-free tiers (D1, B1, B2, B3, or any tier in the Production category) to be able to use Custom Domains.

Google cloud api for mapping custom domains to app

Is there an sort of API to automatically map custom domains to app. In a multi tenant system, app domain mapping requires that an explicit mapping is created through App Engine settings.
Is there any way of doing this programmatically? Cloud DNS API of sort for App Engine app domain mapping.
Meanwhile the desired feature has been implemented in beta stage, and there is now indeed a way of doing this programmatically, and you can now manage both your custom domains and SSL certificates using the new beta features of the Admin API and gcloud command-line tool. More detail can be gathered from the "App Engine users, now you can configure custom domains from the API or CLI" documentation page.

Custom domain from google not routing to App engine site

Purchased a domain from Google domains and updated settings of my App engine application to add my domain as a Custom domain.
My App engine App link: http://fooapp.appspot.com. Verified that actual link works.
From console.cloud.google.com ->AppEngine->Settings->Custom Domains
verified custom domain ( foobar.com )
"Point your domain to fooapp" (Step-2)
Configure resources and Done
Even after 48hours (wait period for dns propogation), when I launch http://www.foobar.com or http://foobar.com or http://www.sub.foobar.com, I do not see my app engine site. It redirects to http://www.dnsrsearch.com.
nslookup foobar.com shows "Can't find foobar.com: No answer"
What am I missing?
Below is the summary of listings I see under Custom Domains tab in console.cloud.google.com
Was able to resolve it following steps in Google documentation
I had to add Custom resource records under my custom domain's DNS on http://domains.google.com

Unable to add custom Domain w/ Google App Engine

I'm unable to map a custom domain to my Google App Engine app. The steps I've already taken are:
I'm the admin of the Google Apps account
I'm the owner of the Google App Engine Account
I've added the domain to the "Domains" section of Google Apps
I've verified ownership of the domain within Google Apps
I've correctly setup the MX records of the domain
I've checked that the domain was correctly setup using: https://toolbox.googleapps.com/apps/checkmx/
However, for the last 3 days in the Domains section of Google Apps it says "MX records setup validation in progress".
Additionally, when I go to add the domain within the Application settings of the Google App Engine account I get redirected to a sign in page (despite already being signed in, and an admin within Google Apps, and the owner of the Google App Engine app). Either way when I go to sign in again I just get redirected back to the signin page and I'm not able to get any farther.
Also, I have billing enabled for the App Engine account. I've configured app engine domains numerous times before and never had these issues. Any help would be appreciated.
Update:
Following #presveva's suggestion I setup a new Google Apps account (despite already having an existing one) and the first page after creating a new Google App was a server error. After refreshing the page and verifying ownership of the domain I went to add the domain to App Engine.
On the "Please accept the Google App Engine terms and conditions to continue" page, first of all no terms even showed (numerous XMLHttpRequest errors on the page), and after submitting "I accept. Continue to add this service" the next page stated "An error occurred while trying to install this application. Please try again later."
This process is horribly broke and would be great if Google addressed this.
I know this this post is old but I ran into the same issue.
All ready running Google Apps for my primary domain.
Created a new app and registered a new domain name for that.
Don't want to get a new payed Google Apps account for the app domain.
#presveva is right but there is one way around it.
Use your current Google Apps account and add the app domain as a alias for your primary domain.
Make the admin account of your Google Apps domain owner of the Google App Engine (GAE) application.
Add the GAE app to your Google Apps account via the Google Apps admin interface.
Setup a custom domain name for the domain alias, your new app domain.
Note: If you use Google Sites for your domain you can't use www. Disable sites if you want to use GAE.
For now, the only one way for using custom domain in GAE is signup a Google Apps account (domains article).
Notice that the domain need to be the primary domain of account, a new account for domain.
The docs I have linked mentions a free single-user account but it has been replaced by a 50$ credit for a business Google Apps account (forum annunce)

How to point registered domain to Google App Engine application?

I have a registered domain name from GoDaddy.com I need to point my Google app engine application to use this domain name for serving static pages. How do I do that?
Instructions on using a custom domain with an App Engine application can be found here.

Resources