Forums

How to host web app and database on different servers

Hello,

I am totally new to web app hosting. I currently have a Django project that I want to host in pythonanywhere. Currently I am using postgresql instead of the default sqlite3 database, and I want to host that in pythonanywhere as well. The main goal here is to host the website and the postgresql in different servers. In this case, is it possible to host the Django project in a web application server and the postgresql database in a database server (in order to have both of them in separate servers) all within pythonanywhere?

Thank you!

If you use Postgres or MySQL on PythonAnywhere, the database will be on a different machine to the web application.

Thank you for the answer!