1
00:00:00,390 --> 00:00:04,410
Now let us test the name based virtual hosting from C10 and C20 clients.

2
00:00:05,280 --> 00:00:07,530
So we will be using the elinks browser.

3
00:00:08,130 --> 00:00:12,740
And the first we will check our host file, whether proper entries are there or not.

4
00:00:13,080 --> 00:00:20,430
And we will see that www.example1.com, example2.com example3.com, all entries

5
00:00:20,430 --> 00:00:26,150
are in host file and they all are returning one address because that is very necessary for implementing

6
00:00:26,160 --> 00:00:27,390
named based virtual hosting.

7
00:00:27,930 --> 00:00:32,400
Then with elinks, we are going to open all the three sites.

8
00:00:32,400 --> 00:00:39,750
www.example1.com, www.example2.com, example3.com, we will see that we are getting the different page

9
00:00:40,350 --> 00:00:43,540
then same we we are going to do on C20.

10
00:00:43,710 --> 00:00:51,180
First we will check the host file and we will see that all the 3 entries for three Web sites are there

11
00:00:51,180 --> 00:00:57,270
and they are resolving to one address, then we will be using that elinks for verifying again.

12
00:00:57,270 --> 00:00:59,880
We will see that it is working perfectly.

13
00:01:00,660 --> 00:01:07,470
Then we will also try to test by using Ping also whether it is what address it is returning.

14
00:01:07,800 --> 00:01:14,280
So when we are going to Ping www.example1.com and -C1 mean, we want to send one packet.

15
00:01:14,940 --> 00:01:20,760
So we are sending one packet to all the three sites and all the three sites will be returning the address

16
00:01:21,180 --> 00:01:21,630
one.

17
00:01:22,740 --> 00:01:31,410
And then in the end we will also like to see what will happen if we are going to access the

18
00:01:31,410 --> 00:01:35,010
website by using 172.24.0.1.

19
00:01:35,400 --> 00:01:40,140
Now, all the three sites are running there, which site it will display.

20
00:01:40,440 --> 00:01:42,240
So we will be looking at that.
