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.

Hey, I am a beginner in the networking world, and I would like to host my HTML-JS webpage in DigitalOcean. I bought a web-hosting server with SSH access to install the packages needed to run my webpage.
So far, I have installed nginx and added my files to /var/www/html folder, then updated the /etc/nginx/sites-available/default to be something like the following:
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
Now it seems that I can access my webpage in http://ip of the DigitalOcean. I would like to do two things: one to access it via https://ip or using a domain name instead. Any ideas on how I can do these two things will be really helpful and welcomed. }
3775ce71211c40508f8e766a810eab
3775ce71211c40508f8e766a810eab
Lütfi Savaş
Cody Hendrix
Jadefvillanueva
Manny2k0
aehsan4004
f25932a0b984430fb48c4256f1aaad
Raymond Abou
Hamza kholti
Charley Kiser
332a8e75482242abae875a0415dc2f