1
00:00:00,360 --> 00:00:07,590
And let us make the changes in host file in all the three systems on Master, C10, and C20, and we are

2
00:00:07,590 --> 00:00:12,920
going to insert these three lines in all the three system in which file Hosts file.

3
00:00:13,410 --> 00:00:17,000
So first, we will go to our master system.

4
00:00:17,250 --> 00:00:22,260
We will open our this host files.

5
00:00:24,000 --> 00:00:26,090
So let us open this file.

6
00:00:27,200 --> 00:00:36,850
We are going to make one entry 172.24.0.1 here, we are going to specify

7
00:00:36,870 --> 00:00:47,930
www.example1.com www then we are going to copy paste.

8
00:00:50,390 --> 00:00:54,740
Then we are going to make this entry example2.com.

9
00:00:56,010 --> 00:01:00,360
example3.com.

10
00:01:02,580 --> 00:01:13,320
We will save the file and we will open this file and verify whether the settings are according to our

11
00:01:13,320 --> 00:01:13,630
need.

12
00:01:14,130 --> 00:01:22,530
So this is the entries that we made in your host file in master system, same way we are going to

13
00:01:22,530 --> 00:01:24,540
do C10 system.

14
00:01:25,050 --> 00:01:27,690
So we will open the host files

15
00:01:30,930 --> 00:01:47,840
and we are going to make the entry 172.24.0.1 www.example1.com www.

16
00:01:48,840 --> 00:01:51,000
Then again, we are going to copy paste.

17
00:01:55,000 --> 00:02:08,850
So let us make the changes, so we have made changes in C10 also let us verify the changes, we

18
00:02:08,950 --> 00:02:10,510
opening the file with the cat.

19
00:02:11,830 --> 00:02:15,620
So this www.example1.com, it will.

20
00:02:15,850 --> 00:02:22,180
return the address one, that mean all the three sites, they are going to return the same address.

21
00:02:22,400 --> 00:02:33,130
That is the function of DNS also host give you the same advantage as of DNS, but it is very easy

22
00:02:33,130 --> 00:02:34,960
to make entry in host files.

23
00:02:35,530 --> 00:02:44,850
So let us go to C20 system and again make entries 172.24.0.1.

24
00:02:45,220 --> 00:02:49,720
www.example.

25
00:02:50,950 --> 00:02:52,000
1.com.

26
00:02:55,270 --> 00:02:58,870
Then we will again copy paste.

27
00:03:05,970 --> 00:03:07,890
So we are making the entries.

28
00:03:11,800 --> 00:03:18,390
So we have made the changes in all the three system, according to what we have discussed in diagram.

29
00:03:18,520 --> 00:03:26,500
Also, we have specified that all the three host file, which will contain this entry this is very necessary

30
00:03:26,500 --> 00:03:30,040
for implementing your name based virtual hosting.
