1
00:00:00,300 --> 00:00:08,190
So, again, for an IP based virtual hosting we need to go to /var/www/html directory and there we need

2
00:00:08,190 --> 00:00:16,410
to create three directories example1, example2, example3, so that we can serve the different

3
00:00:17,130 --> 00:00:21,480
websites and we have to put some material into these directories.

4
00:00:21,660 --> 00:00:28,140
And in our case, in all the three directories, we are going to put index.html and with the Tree command,

5
00:00:28,140 --> 00:00:30,180
we can verify the whole directory structure.

6
00:00:30,630 --> 00:00:38,070
But we will not be doing this in this lab setup because we have already created directory structure in previous

7
00:00:38,070 --> 00:00:38,320
lab.

8
00:00:38,640 --> 00:00:46,380
So we are just going to go into our /var/www/html directory and we are going to run the Tree coomand

9
00:00:46,380 --> 00:00:50,070
we will see whether the whole directory structure is in place or not.

10
00:00:50,520 --> 00:00:59,470
And then we will check also whether our that Web page, they contained material or not.

11
00:00:59,640 --> 00:01:04,680
So let us verify that whole directory structure is in place or not.

12
00:01:04,980 --> 00:01:17,730
So we will go to our master system and we will enter into your /var/www/html directory with list command.

13
00:01:17,730 --> 00:01:23,140
You can verify that all the directories are there, but tree command is much more useful.

14
00:01:23,880 --> 00:01:27,300
So it is showing that the whole directory structure is in place.

15
00:01:27,330 --> 00:01:32,490
You can view the files also whether they are okay or not.

16
00:01:33,450 --> 00:01:40,550
So it is showing you the page that mean welcome to example1 site.

17
00:01:41,520 --> 00:01:48,720
And when we open this in example2 directory again, it is going to show one page, different message.

18
00:01:48,900 --> 00:01:50,670
Welcome to example2 site.

19
00:01:51,300 --> 00:01:53,760
Then let us check about the.

20
00:01:54,620 --> 00:02:00,620
third site also, so our whole directory structure is in place, so no issue regarding that.

21
00:02:01,280 --> 00:02:10,160
So now we need to configure our httpd.conf file file for launching our IP based virtual hosting.
