Our app is hosted on app engine; 'myapp.appspot.com'.
It is much like blogger, where each user is given a subdomain.
So a user Foo has 'foo.myapp.appspot.com'
Now we want that our users should be allowed to add a custom domain to their website.
For instance,
www.foo.com in place of foo.myapp.appspot.com.
To achieve the same, we need to add zones and CNAME records to the DNS.
www.foo.com | CNAME | foo.myapp.appspot.com
Now, this doesn't work on app engine because Google doesn't allow creating zones and records programaticaly. A user can only connect a custom domain if the the domain is verified first.
So, is there any way in which we can programatically add zones/records? Or can you please suggest some other way to achieve this workflow?
Thanks.
Related
Google app engine has given me a default domain name(https://myproject-name.uc.r.appspot.com/). How to add my purchased domain instead of this domain name?
The image link is given below:
https://i.stack.imgur.com/Ijw3V.png
You need to use a custom domain. To use a custom domain, map the domain to your app, then update your DNS records. You can map a naked domain, such as example.com or a subdomain, such as subdomain.example.com. You can also use wildcards to map subdomains.
Something to keep in mind is that if you do not have a domain, you must purchase one and in case you are using a Load Balancer to route your traffic to your App Engine, it is recommended to map your custom domain to the LB instead the directly to your App.
At this link you can find the necessaries steps to map your custom domain to your app.
Google App Engine allows using Google Authentication and restricting it to a specific Google Organisation domain by setting to 'Google Apps Domain' in the control panel like so:
Settings
I am wondering if there is any way of having multiple domains here? Tried comma separated but not working.
Thanks
Nope, that only works for a single domain. You'll need to use a more general OAuth2 implementation (e.g., Authomatic) and check the email address of people who login to make sure it matches an allowed 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.
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!
I want to use Google App Engine custom domain ssl.
I have already a domain(DomainA) which use App Engigne SSL for an application id.
CNAME setting of the domain is "ghs-svc-https-cXX.ghs-ssl.googlehosted.com"(XX is 2 digit number), and working well.
Now I want to use App Engine SSL for another domain(DomainB) for another application id.
Is the CNAME setting of DomainA and DomainB same?
I want to use SNI+VIP for both domain.
Or 2 digit number of CNAME setting is different per domain?
I may be able to check the CNAME setting of the DomainB on Google Apps SSL setting page,
but I cannot select VIP for DomainB because I don't pass the first checkout yet.
You must have a separate VIP for each domain name.