Forums

Serving content in www.mydomain.com instead of www.username.pythonanywhere.com

Hello. I pointed my domain to pythonanywhere.com and it is working, but each time i go to www.mydomain.com it redirects me to www.username.pythonanywhere.com. How can I use exclusively for example www.mydomain.com/login instead of redirecting to www.username.pythonanywhere.com/login?

edit1: I am on the Hacker plan, so I can't make more than 1 app.

You've set up a domain redirect, not a CNAME that would do what you want. Details are in the help. You will also need to make a web app on PythonAnywhere to match the domain name that you're using.