Point already added custom domain to app service Google Cloud Platform - google-app-engine

I am trying to point this custom domain name to a service in GCP. I tried to see the docs but in all the docs there is a option to point to a service when you are adding a new custom domain. I don't have permissions to either delete or add a new domain. Where is the option to point this domain name to a service?

To map subdomains you can use dispatch.yaml file.
And then run $ gcloud app deploy dispatch.yaml (it can be in any directory).
If you have example.com added under App Engine > Settings > Custom Domains for the default service, you can add the subdomain api.example.com for the other service. Later you need to add the new subdomain DNS records to your domain registrar as pointed out in the console configuration.

Related

How to redirect GAE custom domain to www url?

I have hosted my application in Google App Engine. Now I can able to access my app using example.com and as well as www.example.com. Now I want to redirect every request to www.example.com. How to perform this redirection?
It's nothing to do with django or appengine. Look into your domain hosting and find out how to change Cname record (domain forwarding. )
If you are handling the domain using Google Apps for Work then you can do so from Admin Console > Domains > Change redirect and then follow the instructions. Either case as it's already mentioned you will have to change/update the CNAME records from your domain provider.

Need to change appspot subdomain to custom domain

i want to change to a custom domain for my google app engine website.
I know already that i need to setup my records to CNAME at my domain provider for my already registered domain,
but i cannot find at the google app engine website where i can add a domain alias for my app.
thanks in advance!
Go to your google cloud account, click on your project, then go to compute, then app engine, then settings, then custom domains, then click 'add a custom domain', and here is where you can add an alias or subdomain to a domain you have already verified.

Google AppEngine: multple domain urls for a site

I have a website running on google appengine. Url being say: www.mysite.com
recently I acquired the domains www.mysite.co.in and www.mysite.org
Question 1: Can I attach these new domain urls to the same server so that .com, .org and .co.in all work and how?
Note: I am NOT looking for redirecting these new urls to .com url.
If you do not need SSL (only http) then you can simply add it in the Developers Console: https://console.developers.google.com/project/your_project_name/appengine/settings/domains
If you need SSL (= https) then you must first add the domain as an alias domain in your Google Apps account. Then you can go back to above link and map it to AppEngine instances.

how to serve appspot.com apps on custom domain?

I have an application http://faqs4j.appspot.com. I have purchased a domain called jobs4j.
I added domain using application settings in app engine console and also made necessory
CNAME changes in godaddy DNS managing console.
Now when I type in browser in.jobs4j.com it simply ridirects to http://faqs4j.appspot.com.But
I want my application to be served under sub-domain in.jobs4j.com and not just redirection to
appspot domain. what configuration I am missing?
thanks for your time.
In the application dashboard, under administration / application settings, you have a section titled "Domain setup". In it you can configure domains to be used for this application.
The process will require you to set up a "google apps" account (don't worry, a single-user domain is free), then transfer the domain(s) you want to be managed by Google apps by setting up a CNAME entry in your domain zone file. The instructions show you how to do it. Of course, where the instructions recommend you define your CNAME subdomain as "www", you will want your subdomain to be called "in".
Unfortunately, Google has ended the option to have a free Google Apps account, sigh!
However, we could still point the GAE app from a custom domain (non-Google apps owned).
Step 1 : Go to Application Settings in the GAE dashboard and add a
custom domain. You will be asked to verify the domain during which
Google would basically create a TXT record in your DNS zone file.
Step 2 : Once the 3rd party domain is verified, add the custom domain
for the app (my-gae-app.mydomain.app). It shows instructions
on how to add the CNAME entry for the domain.
Hope this helps!

AppEngine setup with custom domain + sub domains

I've purchased a domain name with GoDaddy and have some sub domains setup, ie:
www.example.com
status.example.com
store.example.com
I want to create three applications on AppEngine under a single account, ie:
example.appspot.com
status.appspot.com
store.appspot.com
I would like to point each domain to a different app, ie:
www.example.com -> example.appspot.com
status.example.com -> status.appspot.com
store.example.com -> store.appspot.com
The question is, what do I need to do to set this up?
Do I sign up to google apps and add example.com as my domain, then somehow link this to my appengine account, will the subdomains be recognized as belonging to my account or do I have to do some extra work to set these up?
You need to setup the domain with Google Apps (free version is fine), then add each of your apps to the domain. You can add the app from the domain management console dashboard (click "Add more services"). When you add an app to the domain you can set the URL in the domain's management console.
There is also a how to in the App Engine docs, it explains how to initial the process from your App Engine admin console. I prefer to just handle all of the steps from the domain's management console.

Resources