Forums

How change existing web app domain name over to new web app?

I have an existing pythonanywhere public web app with a godaddy domain. I did a new version of the web app on pythonanywhere and want to switch the domain name over to my new version. What is the easiest way to do this? I tried changing the working directory of the public web app to the working directory of the new web app, but nothing seemed to happen. Do I need to change the domain name of my public app to something else, change the domain name of my new web app to the old domain name of my public app, and change the CName for my godaddy domain to the CName for my new web app?

Hi there, switching the working directory is a start, the main next thing you need to do is update your wsgi file so that it imports the new code. changing the cname is optional...

Thanks. That was easy and seems to have worked.

:)