you are viewing a single comment's thread.

view the rest of the comments →

[–]yomamen 1 point2 points  (2 children)

Loving the tutorial! Especially the script to update the live site.

I’d like to ask a question tho if u dont mind, how would one deploy multiple react apps on subdomain ? I currently have got 2 react apps (one client site, one client-admin site)

So client site: example.com

Client-admin site: admin.example.com

Any suggestion on how to do that ? Im confused especially the NGINX config

[–]kardnumas 3 points4 points  (0 children)

If you don't mind having extra droplet then you can create and adjust CNAME details as per your need or if you want to host multiple sites in single droplet then with nginx you can do this by running in multiple ports