Here are the PythonAnywhere docs on pointing a new domain at an existing web app.
How do I change the URL configuration of my existing Django web app on Pythonanywhere?
-
18-10-2022 - |
Question
Is there a straightforward way for me to change the current URL of my Django web app (www.example.com) to another one (www.example2.com)? I've configured example2.com's CNAME record already to point at username.pythonanywhere.com, and have included '.example2.com' in Django settings of the existing Django project. www.example.com is now live and running well.
Question also asked on PA Forums.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow