1
00:00:00,570 --> 00:00:08,220
Now, let us see where is our default welcome page and how we are going to access that page and what

2
00:00:08,220 --> 00:00:09,120
is in that page.

3
00:00:09,570 --> 00:00:14,570
So let us go to our master system, In master system.

4
00:00:15,150 --> 00:00:17,130
We will go to our.

5
00:00:18,130 --> 00:00:28,150
cd /etc/httpd directory, you can verify this with this command.

6
00:00:28,170 --> 00:00:31,200
Where are we then with tree command

7
00:00:31,360 --> 00:00:32,470
Again, very useful.

8
00:00:32,470 --> 00:00:35,560
Command, it is going to let me clear this

9
00:00:39,340 --> 00:00:40,500
with control+L.

10
00:00:40,520 --> 00:00:42,450
You can clear the screen.

11
00:00:43,570 --> 00:00:49,900
So when we are going to run this tree command, it is going to show you directory structure conf these files are

12
00:00:49,910 --> 00:00:50,230
there.

13
00:00:50,620 --> 00:00:54,420
But here we are interested in which file this welcome.conf

14
00:00:55,030 --> 00:00:59,400
So we are already in pwd directory.

15
00:01:00,220 --> 00:01:04,540
So what we have to just specify we have to specify.

16
00:01:04,870 --> 00:01:10,420
cat conf.d.

17
00:01:11,200 --> 00:01:13,580
The files name is welcome.

18
00:01:15,490 --> 00:01:21,440
So it is showing you that this is the location where we have got our file.

19
00:01:21,910 --> 00:01:24,280
So how we are going to open it.

20
00:01:24,420 --> 00:01:34,480
So we will go to our, we will open with cat.

21
00:01:35,080 --> 00:01:39,790
And the files name is /usr/share.

22
00:01:40,660 --> 00:01:43,690
And then we have got httpd.

23
00:01:45,050 --> 00:01:45,770
index.

24
00:01:47,900 --> 00:01:59,090
Sorry, directory is /noindex and the file name is index.html and this file is going to get displayed

25
00:01:59,090 --> 00:02:00,880
because this is a very large file.

26
00:02:01,190 --> 00:02:03,670
So initially we are looking at those five lines.

27
00:02:05,490 --> 00:02:07,980
So when we are going to run this elinks.

28
00:02:10,050 --> 00:02:16,020
http://172.24.0.1.

29
00:02:18,650 --> 00:02:26,020
What it is showing it is showing the same thing apache http test page powered by that mean

30
00:02:26,620 --> 00:02:38,290
if our Web server is not going to find index.html in our /var/www/html directory it will display

31
00:02:38,290 --> 00:02:39,490
one welcome page.

32
00:02:39,910 --> 00:02:49,030
The welcome page stores in /usr/share/httpd/noindex/index.html file.

33
00:02:49,210 --> 00:02:50,170
You can change that.

34
00:02:50,180 --> 00:02:55,660
Also, if you want to display custom welcome page, then you can done this.

35
00:02:56,410 --> 00:03:08,770
So this was our explanation of why we get one default welcome page when there is no index

36
00:03:08,770 --> 00:03:09,610
html file.
