I have deployed an application on Google App Engine and I want to link a Subdomian to that application. I currently have a domain that is linked to a "live" site. from Google documentation I understand that i need to set up my domain with Google Apps:
To serve your app on a custom domain, the domain must be set up with Google Apps (Source)
What exactly that mean? I've looked in Google documentation and could get a clear idea... Does that will effected my "live" site in some way?
just to clarify, www.mydomain.com - points a site that i own and i want sub.mydomain.com to point to my Google application.
You need to make a CNAME
to forward to your app address.
Let's say your app address is https://yourapp.appspot.com
, and you want sub.mydomain.com
to forward to it, just do like below:
Please read THIS first, follow the steps until step 5. You'll need to type your mydomain.com
in step 3, and type sub
in step 5. After these, you'll some steps on how to Chang CNAME record, just follow:
sub
CNAME
ghs.google.com.
OK, and you'll visit your app by http://sub.mydomain.com, different hosting providers have different time to set it valid. :)
BTW, it'll not effect your "live" site in any way. As your main site use mydomain.com
, and you just need sub.mydomain.com
. What GAE said is that, if you want to set mydomain.com
to your app, you need to set A
type instead of CNAME
type in your host. This domain hosting method includes more steps, you'll see GAE's doc that you found, and so it will effect your live site.
This means you have to register your domain with Google Apps here: https://www.google.com/a/cpanel/domain/new
You don't have to have your main website hosted on Google. Just how you arrange things is determined by how you configure your DNS which you will retain control of. Same for email you can have it delivered to Google Apps or not, depending on your DNS MX records.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With