Report this

What is the reason for this report?

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

Posted on November 1, 2018

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

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-en

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

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:

https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-16-04

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.