Forums

Can i activate HTTPS from "settings.py"?

I know how to use it, by the way thanks for: https://help.pythonanywhere.com/pages/ForcingHTTPS/

But i want to know if will work for www.l2iphoenix.com.

My domain provider is godaddy You are my web hosting provider

Yes, it should be doable! The first thing would be to get an HTTPS certificate for the website. You can either buy one (for example, from GoDaddy), or you can get a free one from Let's Encrypt by following these instructions.

Once you've got one of those, and we've installed it for you, then going to http://www.l2iphoenix.com/ will get your site without HTTPS, but going to https://www.l2iphoenix.com/ will get the site with HTTPS. The final step would be to apply the changes for the appropriate web framework (Django, I think?) from the help page you linked to above.