Setup web server di Ubuntu Server 24.04 (yang sudah kamu install di VirtualBox)

Setup web server di Ubuntu Server 24.04 (yang sudah kamu install di VirtualBox)
🚀 SETUP WEB SERVER (NGINX) 1. Update Sistem Jalankan: sudo apt update && sudo apt upgrade -y 2. Install NGINX sudo apt install nginx -y 3. Jalankan NGINX sudo systemctl start nginx sudo systemctl enable nginx Cek status: sudo systemctl status nginx 🌐 4. TEST DI BROWSER Buka browser di Windows: 👉 http://localhost atau 👉 http://127.0.0.1 Kalau muncul: Welcome to nginx! ✅ Berarti berhasil 🔧 5. (JIKA TIDAK BISA DIAKSES) Masuk VirtualBox: 👉 Settings → Network → Port Forwarding Tambahkan: Name: HTTP Host Port: 8080 Guest Port: 80 Akses: 👉 http://localhost:8080 📁 6. FOLDER WEBSITE Lokasi default: