
Learn to host multiple websites on a single Digital Ocean droplet using virtual hosts, DNS zone files, and Let's Encrypt SSL certificates on Ubuntu 18.04.
Discover how floating IPs let you move a permanent IP between droplets, enabling easy server deployment, snapshot recovery, and flexible reconfiguration without changing IP addresses.
Install Apache to set up your web server, update the local package index, and verify the default Apache page by visiting your server IP.
Configure virtual host files by creating domain directories, setting 755 permissions, and adding per-domain index.html files via nano or FTP, guiding multi-domain server setup.
Deploy a DigitalOcean Ubuntu droplet, create floating IPs, set up a LAMP stack, structure directories for multiple sites, configure DNS zone and virtual hosts, and obtain Let’s Encrypt SSL certificates.
Compare Apache and NGINX to plan scalable, cost-effective web deployments, balancing compatibility, capacity, and latency to deliver efficient, high-traffic web applications.
Connect to your virtual server using terminal, putty, or DigitalOcean's web console. Log in with root and the server's IP and password, then change the password.
Update the server's package index, install nginx with apt, accept the disk space prompt, and verify the installation by visiting the server's IP to see the Welcome to Nginx page.
Install and secure MySQL on Ubuntu alongside Nginx by removing anonymous users, disallowing remote root access, removing the test database, and switching to MySQL native password authentication.
Log in to your domain registrar and point your name servers to digitalocean, then configure the dns zone and nginx to serve your home page.
Update the NGINX block file to include www and non-www domain variations, reload the server, and verify access by domain name and IP address after DNS changes propagate.
Install WordPress, a flexible content management system powering a third of all websites, and manage membership sites, e-commerce stores, and blogs directly from the browser admin panel.
Set up WordPress on nginx by selecting language, naming the site, creating a secure login with a strong password, and configuring seo and admin access via the dashboard and phpMyAdmin.
Learn how ssl certificates secure communication and verify identity by examining digital certificates and issuing authorities, including Let's Encrypt, Digicert, GoDaddy, and Global Sign, and assess trust.
Explore the types of SSL certificates—from domain validation to organization and extended validation—and learn issuance guidelines, verification steps, and how to obtain a free certificate with Letsencrypt.
Discover how to obtain an SSL certificate from a certificate authority like Digicert for Xyz.com, verify domain ownership, install it, and ensure browsers trust the certificate for https connections.
Sign up for Digital Ocean, activate your account by email, enter billing with PayPal, and create a droplet that runs briefly for about an hour at minimal cost.
Add the IP address and domain name to the hosts file, adjust the server time and date, and configure a cron job to renew the Letsencrypt certificate.
Welcome to our latest course, which will guide you through the process of installing, securing, and configuring NGINX or Apache on an Ubuntu web server. You will also learn to encrypt all web traffic, using a Free SSL certificate from Let’s Encrypt.
APACHE Section:
This course begins with exploring the most widely used web server technology available, Apache. Statistics show that Apache is used to run over 65% of all web servers around the world. Understanding how to work with Apache, is an instrumental part of the web development process. Students will learn the following key concepts:
Deploying a virtual server on Digital Ocean
Working with dynamic, static and floating IPs
Using Terminal for remote authentication
Installing and configuring LAMP Stack on Ubuntu 18.04
Testing PHP
Hosting Multiple Domains on one Apache Virtual Server
Configuring Virtual Host Files and Directives
DNS Zone File Configuration
NGINX Section:
NGINX is now considered the most powerful, efficient, and secure web server technology used to host web applications of all sizes and complexity. The software is open-source, and is designed for maximum performance and stability. It also aims to correct many of the short-falls of Apache, when it comes to delivering content to your end user. NGINX can be used for web serving, reverse proxying, caching, load balancing, media streaming, and much more.
The NGINX Section of this course will help you understand the following key concepts:
Understanding the difference between Apache & NGINX
Installing NGINX on a Digital Ocean Droplet or any Virtual Server of your choice.
Modifying the NGINX Block Configuration file for hosting Websites
Installing essential components on NGINX such as MySQL, PHP & PhpMyAdmin
Securing PhpMyAdmin using symbolic links and NGINX's built in authentication gateway.
Securing your hosted websites with free SSL using Certbot & Let's Encrypt
Installing and Configuring WordPress on your NGINX Server
SSL Certificates - Let's Encrypt
This section of the course offers an in-depth look into the role of SSL certificates when it comes to server security and web traffic encryption. We start with a thorough introduction which includes exploring different types of certificates and how they work. From there, students create a droplet on Digital Ocean and configure their own free SSL certificate using Let’s Encrypt Certificate Authority. This section of the course combines theoretical and hands-on training. Students have the opportunity to practice some of the concepts explored in the previous two sections, while also learning about free SSL Certificates, such as Let’s Encrypt.