Skip to content

Instantly share code, notes, and snippets.

View apavlinovic's full-sized avatar
☃️

Antonio Pavlinović apavlinovic

☃️
View GitHub Profile
@ZulianTiger
ZulianTiger / digitalocean-deployment.txt
Last active May 4, 2024 13:47
How to Deploy a Next.js Website to a DigitalOcean Server
***Simple and stripped down version of this post: https://www.coderrocketfuel.com/article/how-to-deploy-a-next-js-website-to-a-digital-ocean-server ***
1. Create a New Droplet On DigitalOcean
a) In the first section, select the Ubuntu operating system for your server
b) In the "Authentication" section, make sure the "Password" option is selected and enter a strong root password for your server.
2. Access Server Using Root
a) ssh root@server_ip_address (connect to server from terminal)
3. Add user (OPTIONAL)