Getting 403 with www on domain and SSL certificate configuration
I set up django app following the next tutorial Django app
I configured all DNS records and it works fine.
I set up lets encrypt sertificate.
So, the problem is that certificate works fine on link with www.domain.net, but I get 403 forbidden. In the same time domain.net(without www) works fine, but it hasn’t SSL. How can I fix that?
Would be very grateful if somebody can help.
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.×