Forums

how to get my domain to point to a different server

i have a PAW domain and my own domain. they are both set up with bottle. i have an app running on the PAW domain. and trying to get my own domain to point to a different server file. for example when i type myname.PAW.com/something or www.mydomain.com/something, that take me to the same server which is located at /home/emmanuelnabi/mysite/bottle_app.py. how to i get my own domain to point to a different bottle_app.py file.

Thank you.

If you go to the "Web" tab and select one of your apps, you'll see a link to a "WSGI file". Click on that and it will take you to the script that describes what code is run for that website. Right now, it looks like they're both identical -- they both point to the same code in the same directory. So all you need to do is change the one for your custom domain to point at some different code, then reload the site.

That worked. Thank you

Great! Glad I could help.