Forums

Bought a domain and set up a web app, but it says I still need to set up a web app?

I'm trying to launch my first web app on a custom domain. Went to namecheap.com yesterday and bought a domain at distancetodollars.com. After that, I went to the DNS settings, made a CNAME record with a 'Host' of www and 'Value' of webapp-142393.pythonanywhere.com which I believe are the correct Alias and canonical name settings.

I checked https://www.whatsmydns.net/#CNAME/www.distancetodollars.com and it's also giving me all green checkmarks too (been over 12 hours since I set the domain stuff). In my web apps tab, I uploaded the files, set the virtual env, set the wsgi file and static files (copied step for step from my first web app that did not have a custom domain name). Though, when I try the domain, it says:

'Coming soon... Go to the web tab and add a new web app...'

Not sure where I went wrong or what's left to be done. Can someone look into my file or give me some advice as to what I should do?

I think the problem is that the web app you have set up on PythonAnywhere is for distancetodollars.com with no www at the start. If you delete it and create a fresh one pointing at the same code (deleting the old one won't delete code) with the correct full host name, then it should work fine.

Works like magic. Thanks again for the help!

No problem -- glad to help!