Our lab has semi-control over a few domain names, from our "official" one example-lab.org
to a couple others that are subdomains of our university (example.school.edu
). We are trying to get an SSL certificate to allow for encryption as we have an internal portion to the website which runs on Django and Apache.
Because our official domain name is actually owned by a third party, getting a certificate for it is proving difficult. However, we do have one for our school subdomain.
How can I set up Django/Apache to rewrite(is that the right term?) HTTP requests to our desired domain name, and HTTPS requests to the pragmatic name with the cert?