1
00:00:00,690 --> 00:00:07,440
Now, we are going to change the DirectoryIndex and we will include the i.html also that mean,

2
00:00:07,770 --> 00:00:11,940
if we are specifying the line in this way DirectoryIndex.

3
00:00:12,460 --> 00:00:18,630
index.html i.html, then it will first look for this index.html and then it will look for the

4
00:00:18,630 --> 00:00:21,380
i.html because now our file is.

5
00:00:21,570 --> 00:00:21,810
i.html.

6
00:00:22,680 --> 00:00:31,710
So what will happen, when we will test from the client, it is going to display us our whatever

7
00:00:31,710 --> 00:00:37,830
content are in our i.html file and in which file we are going to make changes.

8
00:00:37,840 --> 00:00:40,850
We are going to make changes in /etc.

9
00:00:41,100 --> 00:00:44,000
/httpd/conf/httpd.conf directory.

10
00:00:44,460 --> 00:00:48,540
And then what we are going to do, we are going to reload the web server.

11
00:00:49,200 --> 00:00:56,340
so we are not using the restart command because what happened in restart command your server will get

12
00:00:56,340 --> 00:01:04,860
stop for some moments, then started that mean and then during and when the web server stop,

13
00:01:05,460 --> 00:01:09,980
your client will not be able to access the web server or websites.

14
00:01:10,410 --> 00:01:13,920
So it is a recommended practice whenever you are making any changes.

15
00:01:13,920 --> 00:01:21,730
in httpd.conf do not use the restart command, reload command in which what happens it reload

16
00:01:21,740 --> 00:01:23,960
the re-read the configuration file.

17
00:01:24,300 --> 00:01:32,350
So no stoppage of a web server is there and you can check with service httpd configtest

18
00:01:32,370 --> 00:01:35,090
command, whether your syntax is ok or not.

19
00:01:35,130 --> 00:01:41,030
so in here it is showing that syntax is.

20
00:01:41,040 --> 00:01:41,330
Okay.

21
00:01:41,610 --> 00:01:49,200
and with, we will go to the C10 client and we will check whether now we are getting

22
00:01:49,200 --> 00:01:50,820
the website or not.
