简体   繁体   中英

Custom Domain for App Engine App Wrongly Pointing to SSL

I have an App Engine App at http://1.lyfekit.appspot.com/ and I want to use the custom domain http:// www. lyfekit .com/

I verified the domain and added it to app engine app settings. I added the CNAME record www pointing to ghs.googlehosted .com

BUT, http:// www. lyfekit .com/ is going to https: //lyfekit .com/ and is giving me an SSL error. I do not need https. I simply want http.

The way I understand, if I am not using https, I do not need to configure a Google Apps Account for the domain.

HTTPS is a protocol. It's totally separate from a domain name. Somewhere in your app.yaml or web.xml file you have specified that you want a connection to be secure. App Engine follows your instructions and tries to use HTTPS protocol instead of HTTP protocol. Remove these instructions, and App Engine will stop using HTTPS

I'm not sure what you have done but the default module for your app (the one which your domain is mapped to) can be seen here:

http://lyfekit.appspot.com

and as you can see it redirects to https (because it will have secured:always set in the app.yaml file).

With your original URL you are specifying a particular version of your app (version 1) but as you can see by accessing the main appspot domain that version is not set as the default version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM