Deploy React and Django, same domain but different sub-domains, while on the same server

I am building a React js Application with the Django backend. with API integration

I have one server and 1 Domain, and using nginx

I suppose to do Run my React app on www.my-domain.com

and Django backend on services-api.my-domain.com

which scenario should I choose?

Should I go with 2 Different Domains and Different servers?

or I can do on this way what I discussed above & guide me how I can do this.

How i can setup React and Django on the same server with same domain but in different sub-domain

Back to Top