How to configure apache.conf file after SSL certification to point to the Django files?

Posted November 1, 2018 2k views
ApacheDjangoUbuntu 16.04

Hi, after getting an error mail related to renewing Certificate, steps were followed from below link

The encryption went fine as mentioned at the end of this link, but I can see the default page coming up which is in /var/www/HTML and it shows up apache ubuntu default page in my hosted address,
How do I fix this and get my earlier site working up the way it was.

Please help me.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


I believe that you would need to adjust your Apache Virtual Host so that it forwards the traffic to your Django application.

I would recommend following the steps here on how to do that:


by Justin Ellingwood
Django is a powerful web framework that can help you get your Python application or website off the ground quickly. Django includes a simplified development server for testing your code locally, but for anything even slightly production related, a more secure and powerful web...