If I understand you correctly, you're saying that when you remove the web app for www.xn----dtbbkhf0bfcrqke.xn--p1ai
on the Web tab, then you get the "unconfigured domain" page when you go to that domain, even though the web app called sashkao.pythonanywhere.com
is still there, and the domain is set up with a CNAME pointing www.xn----dtbbkhf0bfcrqke.xn--p1ai
to sashkao.pythonanywhere.com
. Is that correct?
If so, then that's actually exactly what should happen. You need a web app on PythonAnywhere for each domain that you want to run a web app on. They're all completely independent. You could have one app on sashkao.pythonanywhere.com
and a completely different web app on www.xn----dtbbkhf0bfcrqke.xn--p1ai
.
This is regardless of the fact that you need to use a CNAME to point the www.xn----dtbbkhf0bfcrqke.xn--p1ai
domain at sashkao.pythonanywhere.com
. All that CNAME does is tell DNS which of our loadbalancers to send requests for that domain to.
So once you have your web app running on www.xn----dtbbkhf0bfcrqke.xn--p1ai
, you can delete the one on sashkao.pythonanywhere.com
if you don't want to have anything running on that domain.