How to serve two projects on same server one is django and another is django
I have created two projects one is python django and another is on Php as the backend. I want to connect its front end which is on flutter and put it on live .Suggests some ideas on how to do it.
Please share some feasible ideas
Well you can serve it with different ports associated, you can run: django in port 80 and Apache for PHP over port 8080. They both work in different processes, therefore, they would not collide in any manner.
Another way to do this is using Docker technology where you can create a container to run PHP stack and another to run Django. At the end you would have to run it in different ports to serve the frontend.
run django other port ex:8081 and run nginx config for subdomain:
and run other subdomain for php .