1 00:00:00,980 --> 00:00:02,210 Hello and welcome. 2 00:00:02,240 --> 00:00:05,530 Glad you could join us for our new course today. 3 00:00:05,600 --> 00:00:11,380 We're going to set up and host multiple Web sites on a single digital ocean droplet using virtual hosts 4 00:00:13,100 --> 00:00:14,920 although we're using Digital Ocean. 5 00:00:14,990 --> 00:00:18,580 You could follow along with any cloud hosting provider of your choice. 6 00:00:19,910 --> 00:00:22,870 In case you're wondering why you would want to take this class. 7 00:00:22,880 --> 00:00:29,000 Well there's many reasons primarily You may want to cut costs on your own hosting fees. 8 00:00:29,110 --> 00:00:36,140 If you have multiple Web sites many administrators create separate servers for each web site and this 9 00:00:36,140 --> 00:00:38,070 can quickly become very costly. 10 00:00:39,200 --> 00:00:47,440 By hosting multiple Web sites on one resource you eliminate the need for so many different servers. 11 00:00:47,440 --> 00:00:52,600 Another reason is that you want to start your own hosting company where you charge clients a fee for 12 00:00:52,600 --> 00:00:56,030 hosting and administering their Web site. 13 00:00:56,190 --> 00:01:01,020 Although this course is only an introduction it will give you a good starting point for branching out 14 00:01:01,020 --> 00:01:03,140 into offering hosting services. 15 00:01:03,390 --> 00:01:11,030 In this class we'll be configuring our server using lamp stack on Ubuntu eighteen point zero for this 16 00:01:11,030 --> 00:01:13,820 is the latest version as of today's date. 17 00:01:14,120 --> 00:01:19,550 But the concepts we cover can be applied to any version including or higher than you wouldn't to fourteen 18 00:01:19,550 --> 00:01:21,990 point zero for. 19 00:01:22,150 --> 00:01:28,140 Keep in mind if you're using an older version of Ubuntu you no longer receive security updates. 20 00:01:28,180 --> 00:01:35,510 So would be a great time to update this course requires some basic knowledge of executing commands through 21 00:01:35,510 --> 00:01:39,330 terminal. 22 00:01:39,390 --> 00:01:45,430 If you're on a Windows machine you can use poddy if you need further information on how to use these 23 00:01:45,430 --> 00:01:48,280 tools and run basic commands on a server. 24 00:01:48,580 --> 00:01:55,830 You can take our web development master class however will be running the commands directly in this 25 00:01:55,830 --> 00:01:59,060 class so you can easily just follow along as well. 26 00:02:00,230 --> 00:02:06,800 In this course you learn to configure name servers DNS zone files and virtual hosts in order to serve 27 00:02:06,800 --> 00:02:09,100 multiple Web sites on a single server. 28 00:02:10,490 --> 00:02:14,060 Each of our domains will have a separate SSL certificate as well. 29 00:02:14,810 --> 00:02:19,210 The SSL certificate authority will be using is let's encrypt. 30 00:02:19,220 --> 00:02:26,350 This is a great resource if you're looking for a quick free and simple way to secure your web pages. 31 00:02:26,350 --> 00:02:32,710 Another point worth mentioning is we'll be doing all our setup in configuring using a root user account 32 00:02:34,510 --> 00:02:37,500 as explained in our web development master class. 33 00:02:37,510 --> 00:02:40,590 It's always a good practice to disable the root user account. 34 00:02:40,630 --> 00:02:46,660 Once setup is complete and create a new user to keep your server secure. 35 00:02:46,860 --> 00:02:51,560 Since we already covered this in another course we won't be going over it again. 36 00:02:52,550 --> 00:02:56,590 Setting up multiple domains on one virtual server is fairly easy. 37 00:02:57,870 --> 00:03:02,970 Keep in mind it needs to be done carefully from the beginning so you don't run into issues later on 38 00:03:03,200 --> 00:03:05,220 that can be more challenging to resolve. 39 00:03:06,320 --> 00:03:13,310 For this class you'll need the following items a Mac or Linux system with terminal or any command line 40 00:03:13,310 --> 00:03:14,850 console of your choice. 41 00:03:16,650 --> 00:03:21,880 If you're on a Windows machine you'll need to download puttee S-sh client. 42 00:03:22,010 --> 00:03:27,830 You'll need the domain names for each site that you want to host on your digital ocean dropping. 43 00:03:27,830 --> 00:03:31,760 This means you must have the domain names registered and accessible. 44 00:03:31,940 --> 00:03:40,260 If you do not have domain names you will not be able to install the SSL certificate or test your configuration. 45 00:03:40,340 --> 00:03:45,410 You'll need access to the name server configuration from your domain name registrar. 46 00:03:45,410 --> 00:03:51,470 You also need a digital ocean account or an account with any virtual cloud hosting provider of your 47 00:03:51,470 --> 00:03:52,230 choice.