Host Multiple Domains on One Server using Digital Ocean. Setup Virtual Hosts and SSL.

John D., Start learning & acquire the skills you need!

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
16 Lessons (1h 15m)
    • 1. Introduction

    • 2. Learning Objectives

    • 3. Deploying a Server on Digital Ocean

    • 4. Creating and Attaching a Floating IP

    • 5. Intro to Terminal and Root user Authentication

    • 6. Apache Installation and Testing

    • 7. Installing MySQL Database Management System

    • 8. Installing & Testing PHP

    • 9. Installing PhpMyAdmin for Database Administration

    • 10. Introduction to Virtual Hosts

    • 11. Directory Structure, Permissions and Test Files

    • 12. Configuring Virtual Host Files and Directives

    • 13. Name Server Configuration

    • 14. DNS Zone File Configuration & Testing

    • 15. Installing SSL for each Domain using Let's Encrypt

    • 16. Summary & Next Steps


About This Class

In this exciting new course, we show you how to host multiple domain names on a single Digital Ocean droplet. We will show you step-by-step how to configure a droplet with LAMP Stack on Ubuntu 18.04. This includes deploying a droplet, installing Ubuntu and all the components included in LAMP Stack including Apache, MySQL, PHP and PhpMyAdmin.

We also explore an exciting new feature offered by Digital Ocean, called "Floating IP's" which allow you to transfer IP's easily between multiple droplets.

After you understand the foundations of server configuration, we get into configuring Name Servers, DNS Zone Files and Virtual Hosts to host multiple domains from a single Virtual Server. You will have a thorough understanding of setting file permissions and developing an organized directory structure for all your websites.

We also show you how to configure an SSL certificate for each and every website that you host on your virtual server. For this part of the course we will be using Let’s Encrypt. Let’s Encrypt is a certificate authority that offers free SSL certificates, which are extremely simple to install and very secure.

You are welcome to use any hosting provider for this course, as the concepts can be easily implemented on any Virtual Server configured with the Ubuntu distribution.