Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I followed the steps Sammy the shark showed me regarding the “Get your code on here” section of the default landing page
- Launch your app by calling
pm2 start <your-file>, then map the port your app runs on to an HTTP URL by runningnano /etc/nginx/sites-available/defaultand adding anotherlocation. Use the existing entry for the port 3000 “hello” app as a basis.
sudo systemctl restart nginx to enable your new nginx config.pm2 save to schedule your code to run at launch.I expected to at least see an error message because I moved the “hello.js” and “index.nginx-debian.html” files into another directory but I still see the “Sammy welcomes you to your droplet” page when I visit my domain.
here is what my /var/www/html/archive directory looks like (where I moved the old files)

and here is what’s in my /var/www/html/ directory (populated with my react app build files)

and this is my default “sites-available” file. I left it unchanged since I didn’t need to change the destination it was pointing to

I’m very new at this and I’m learning a lot about how a website is hosted and served. But I’m not sure if I did something wrong or if I missed a step.
How is my domain still loading the default digitalocean landing page when I moved it to another directory? and why are my new react app build’s index.html file not being detected?
(my droplet is running Node JS on Ubuntu 20.04)
dolphinnn
Vaishnavi Vundyala
016512ea60864da0867e5280f293de
Peter Monadjemi
Prince7hakur
devjk1
fc9acbfbc3124cbf8df28a1c5c5cdb
ab871885551143798f41908c709271
gouskova
Saivion Services
Marin
182d09356ab94d3893ddfaca4f0270