Configuring Ubuntu 18.04 for web hosting purposes
Configuring Ubuntu 18.04 for web hosting purposes
I'm on Ubuntu 18.04 LTS and planning to turn my machine into a web hosting server for a Node.js app. The app is already running locally on port 3000, and I just got a domain. I'm unsure about the best way to proceed, especially since this is my first Linux installation without a VM and I'm still learning. Could someone guide me through the steps or recommend a helpful article? Thanks!
Essentially setting up Linux on bare metal behaves just like in a virtual environment. From the software perspective, as @Sauron noted, it focuses more on understanding how internet traffic flows, dynamic IP addresses, and configuring your home network to let your server connect securely without exposing the whole network. For security, always encrypt traffic when possible (check out "Let's Encrypt") and keep your software updated—ideally using a cron job to refresh automatically. If you need help, searching for guides like "setting up server on Ubuntu 18.04" will yield many useful tutorials. Good luck and have fun experimenting with your server!
I’d put it on Heroku’s free tier so you don’t have to handle the server or app management.
This matter has been shifted to the networking domain. As noted, it primarily involves networking concerns or challenges.