Subdomain in Google App Engine - google-app-engine

We already have domain and webhost. Let say example.com. Included on the webhost package are our email accounts. So we have user1#example.com, user2#example.com, etc.
I want to link subdomain.example.com to ourapp.appspot.com. In adding domain in appengine dashboard, it seems it require to register for Google Apps (https://www.google.com/a/cpanel/standard/new3).
Will this be fine? Note that we already have email accounts for our example.com.
Thanks. Im confused with google apps.

Usually I make a subdomain on my provider and insert the CNAME ghs.googlehosted.com.
Then add the domain in Google Apps(new account or as domain alias) with *.example.com or also subdomain.example.com.

Related

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.

Host GAE app on a domain without purchasing a Google Apps account for that domain?

I have purchased my own domain name, and I have created an App Engine app. I'd like to configure GAE so that the app can be served off the domain name that I own.
It appears as though I must create a Google Apps account for that domain in order to host the GAE app on that domain. This costs $50 per year, which I'd rather not pay.
Is there any free way to host a GAE app on my domain name?
Using a Custom Domain
When you create an application with Google App Engine, the app is
automatically served on the appspot.com domain at
your-app-ID.appspot.com. However, it's often desirable to serve your
app at a custom domain that you own (example.com), at specific
subdomains of that domain (app.example.com), or at any or all
(*.example.com) subdomains of that domain.
It's easy to do this with App Engine. First, of course, you must
acquire a domain through a domain registrar. Once you have a domain,
customizing your app to use your domain or subdomain involves three
steps:
Prove to Google that you control the domain.
Configure Google servers to recognize the domain.
Update the DNS records at your domain registrar to point to Google servers.
The entire process can typically be completed in a few minutes at your
computer.
https://developers.google.com/appengine/docs/domain
It's not possible, you need a Google Apps account. But I think it's possible to create a free account with just one user (admin).

Google Domain: Error 404 while redirecting to external site with cname www

I have purchased a two domains from google. Let's say a.com and b.com
My Appengine project is linked to a.com
I just have to redirect from b.com to a.com
I have forwarded the naked domain to a.com and have pointed the CNAME 'www' to '#'
But still, http://b.com gets redirected but, http://www.b.com does not get redirected. Instead I get an Error 404
Additionally, I think, the above purchased domain do not have fixed ip, hence pointing A-record of b.com to IP of a.com seems not possible
After having a long conversation with the Google Apps Representative, it seems that the configuration is all fine, but if you purchase a domain for google and do not pay additionally for google apps for atleast one user, subdomain forwarding is not possible.
In my opinion, just allowing naked domain forwarding but blocking subdomain forwarding (for essential subdomain like www) is not completely helpful. Cname redirects or subdomain forwarding to external site should have been allowed, whether or not a customer pays for google apps.
To sum it up, it seems that for every domain you purchase from google you are compelled to purchase a registration of google apps.
The Google App Engine service allows custom domains through virtual hosting. Adding a CNAME in DNS will fail because you need to configure a domain alias in order for App Engine to recognise it.
Add your domain alias through your corresponding Google Apps account as explained here
If your domain alias is not that important in itself, configure URL forwarding on the DNS level, this will redirect your browser to the primary domain.
Incidently, it's not because an IDE plug-in such as the Google Eclipse plug-in doesn't distinguish between GWT and App Engine projects that you shouldn't either: this is totally unrelated to GWT :-) (you linked this on the Google+ GWT community)

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