1
00:00:00,510 --> 00:00:07,320
now, let us, test the configuration syntax and then reload the Apache Web server, so you have

2
00:00:07,320 --> 00:00:12,510
got to command service httpd configtest for testing.

3
00:00:12,960 --> 00:00:14,310
It will say syntax is.

4
00:00:14,310 --> 00:00:14,650
Okay.

5
00:00:15,540 --> 00:00:21,450
And it is also saying that NameVirtualHost has no effect and will be removed in the next release.

6
00:00:21,690 --> 00:00:23,450
So that parameter was optional.

7
00:00:23,940 --> 00:00:32,790
Then we can use the apachectl configtest for testing the syntax and then httpd -t

8
00:00:32,790 --> 00:00:33,530
can be used.

9
00:00:33,810 --> 00:00:39,650
Then we are going to reload our httpd that mean all are showing that syntax is.

10
00:00:39,660 --> 00:00:45,120
Okay, so let us go to our server and run these commands.

11
00:00:45,450 --> 00:00:46,830
So the service

12
00:00:49,090 --> 00:01:02,790
httpd configtest, it is saying that syntax is okay then we can run this apachectl configtest.

13
00:01:04,140 --> 00:01:06,030
You can run any of these.

14
00:01:06,030 --> 00:01:06,640
Command.

15
00:01:06,660 --> 00:01:08,220
Again it is showing the same.

16
00:01:08,580 --> 00:01:11,850
The syntax is okay then httpd.

17
00:01:12,390 --> 00:01:17,910
-t can be used so our syntax is okay then.

18
00:01:18,210 --> 00:01:22,440
systemctl reload.

19
00:01:24,300 --> 00:01:25,230
httpd.

20
00:01:27,750 --> 00:01:36,600
So we have entries in our httpd.config file was okay and now we have restarted the server

21
00:01:36,600 --> 00:01:37,010
also.

22
00:01:37,590 --> 00:01:42,690
Now let us test our implementation of name based virtual hosting.
