login community faq

Hi,

I would like to set up a Django application to be fully secure. That is to say only available with SSL. If the user types in http://example.com they should be redirected to https://example.com . I don't want the user to get a warning that the certificate is not for my domain so I assume that means I need to provide my own certificate? How do I set that up? What Django settings and Webfaction control panal settings need to be set for this to work?

Thanks!

asked Nov 09 '10 at 17:29

Adam's gravatar image

Adam
1618


You create a "Static/PHP/CGI" application that only holds a redirect to https://domain.com and mount it to http://domain.com. The django app would be mounted to https://domain.com with another website record.

http://docs.webfaction.com/software/static.html#redirect-a-domain-with-a-static-cgi-php-app

As for the certificate you must send us a support ticket. Your account will need a Dedicated IP address for each custom certificate you want us to install, they are 5$ a month and we can enable it anytime.

answered Nov 09 '10 at 18:54

johns's gravatar image

johns ♦♦
340427

edited Nov 09 '10 at 18:55

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited