1
00:00:00,390 --> 00:00:07,620
Now, since we want to launch our three website on three different addresses now, we need a DNS

2
00:00:07,620 --> 00:00:13,980
server for resolving those IP addresses to our names, to those IP addresses.

3
00:00:14,670 --> 00:00:17,660
But in our case, we are not implementing the DNS server.

4
00:00:17,670 --> 00:00:24,840
So same functionality in that mean if we are going to specify the name, it should return the ip address.

5
00:00:24,960 --> 00:00:29,790
That can be, you can get from the by making entry in the host files.

6
00:00:30,090 --> 00:00:36,520
Although if the systems are a number of systems are very large, then this is not the recommended practice.

7
00:00:36,960 --> 00:00:41,570
So in our case, we have made the entries in Host file on all the system.

8
00:00:41,580 --> 00:00:49,410
What entries we are going to make that mean on master also on C10 also C20 also we are going to make the

9
00:00:49,410 --> 00:00:51,750
entry that mean address.

10
00:00:51,750 --> 00:01:01,440
One, it is going to resolve www.example1.com and then you will be having 172.24.0.2 and this

11
00:01:01,440 --> 00:01:09,270
will be resolved www.example2.com and when we are going to specify the example

12
00:01:09,270 --> 00:01:12,790
3.com, it should return your three address.

13
00:01:12,810 --> 00:01:17,730
We are going to make all these entries on all the three systems.

14
00:01:18,270 --> 00:01:28,920
So first let us go to our master DNS server and we will open the host files and we will make

15
00:01:28,920 --> 00:01:31,710
the entries, as we have discussed.

16
00:01:32,250 --> 00:01:34,740
So already some entries are there.

17
00:01:34,750 --> 00:01:45,540
So just we are going to change addresses so that www.example1.com, the address should

18
00:01:45,540 --> 00:01:53,820
be return one and for two, it should return the 172.24.0.2 and for www.example3.com.

19
00:01:53,820 --> 00:01:55,680
It should return the three addresses.

20
00:01:58,180 --> 00:02:07,480
So we can verify that also, so we have made the correct entries in master system, then we will go

21
00:02:07,480 --> 00:02:13,600
to your client system, C10, we are going to make the same settings here.

22
00:02:16,670 --> 00:02:25,840
So because we made entries during the named based virtual hosting, we are making changes in that so less

23
00:02:25,880 --> 00:02:28,730
typing efforts we have to do so.

24
00:02:28,910 --> 00:02:34,310
We have made entry regarding these in host file in C10 system.

25
00:02:34,340 --> 00:02:37,670
Also, we will double check.

26
00:02:40,260 --> 00:02:49,020
That mean all the three settings are proper, then we will move to C20 system again, we are going

27
00:02:49,020 --> 00:02:50,580
to open that host files.

28
00:02:54,190 --> 00:03:03,220
And we are going to make the changes, so here it is two, here it is three.

29
00:03:06,800 --> 00:03:08,420
So, again, we will verify.

30
00:03:11,520 --> 00:03:20,570
So we have made changes in our host files in all the three system in Host file so that when we will query

31
00:03:20,580 --> 00:03:24,480
the website, it is going to return us the proper IP address.
