Forums

Django MismatchCert (Hostname mismatch) using Custom Domain

Hello,

I have a set up a custom domain of www.matchecked.com for my Django project. I think I have the CNAME working: https://www.whatsmydns.net/#CNAME/www.matchecked.com I also have Reloaded my project after changing the name and I don't have an error in the reload.

When I type the website directly into the browser, "www.matchecked.com", it takes me to the PythonAnywhere Coming Soon! page.

When I click directly from the Web App page, I get the "MismatchCert (Hostname mismatch) Blocked by SSL_HOST_MISMATCH" error.

However, in my settings.py, the ALLOWED_HOSTS = ['*']. I know this is not recommended, but I am testing.

Any suggestions / help please?

Feel free to look at the source code / settings in my account.

Thanks

You need a certificate for your site. You can apply one in the Security section of your web app configuration page.