Hi everyone. I'm trying to setup a mern stack application on a digital ocean droplet. I went with their Mern Droplet option since it comes with everything installed out of the box.I have things like the ufw firewall setup, and for testing I opened a few ports to test. I have cloned my server app and was able to set it up with PM2. It successfully connects to the database and if I hit the port it is on I can view the page.

However the default page remains their "Welcome to your MERN droplet!" With a picture of a shark. I thought that setting up nginx I should hit the default page under /var/www/html (which is a page that says nginx is working) I had followed the Nginx server block guide and was going to point it to other sites, but at this point it isn't even pointing to the default.

But I don't see why it isn't defaulting to var/www/html. The splash screen is located in /home/mern/client but how would I make it redirect to /var/www/html.

Also I had attempted just running an npm run dev on my react front end client folder it is running and on port 5173 if I hit that port it does not work (unlike the server that I can reach via its port.) I know that I will eventually create a react build and then place that in the folder, but should it be possible to run it in dev and hit it that way?