Using a custom domain
When you create an app with Google App Engine, the app is automatically served in the domain appspot.com
in seu-app-ID.appspot.com
. However, it is often desirable to serve your application on a custom domain you own (example.com
), in specific subdomains of that domain (app.example.com
), or in any or all of the (* .example.com
) subdomains that domain. Second https://developers.google.com/
It’s easy to do that with the App Engine. First, of course, you must acquire a domain through a domain registration. 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.
- Set up Google servers to recognize the domain.
- Update DNS records in the domain registrar to point to Google servers.
The entire process can normally be completed in few minutes on your computer.
Note that the instructions on this page are for apps App Engine that use a normal HTTP connection and are not served through Google Apps. Here are some related procedures that require different instructions:
- To serve your Google App Engine app through Google Apps, read about the App Engine in the Google Apps help center.
- To assign an additional domain to your Google Apps services, read about the custom domains in the Google Apps help center.
- To add Secure Sockets Layer (SSL) (i.e., an HTTPS address) to your Google App Engine app, you must use the SSL service provided with Google Apps. You will find information and instructions in SSL for a custom domain.
I’ve done it and it didn’t work.
– Allan Veloso
With @ or leaving blank? According to that blog for registration.br should be left blank.
– Anthony Accioly
White space. The.BR Registry system does not accept @.
– Allan Veloso
Well, just as a disincarnate, as I found several references on the subject (another), you could follow this exact procedure again with the four fields
A
blank, the CNAME withwww
pointing toghs.googlehosted.com
, and the Naked Domain registered in the Google console? Do you have any problems with passing your real domain too?– Anthony Accioly
Another point I forgot to mention, obviously my app in the App Engine have a setting pointing to
www
(more information in English), I believe this is already configured correctly for you.– Anthony Accioly
I did all this. Now it worked. I think it was because I redirected by adding the AAAA values of Ipv6.
– Allan Veloso
@Magritte very doubtful (my domain is not using Ipv6 and everything works), but good that solved :).
– Anthony Accioly