krishna I have tried to save after virtual host and saved. But in this case apache is not working. below is the error:
httpd.service - LSB: starts Apache Web Server
Loaded: loaded (/etc/init.d/httpd; generated)
Active: active (exited) since Tue 2019-09-03 05:15:58 UTC; 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 53243 ExecStop=/etc/init.d/httpd stop (code=exited, status=0/SUCCESS)
Process: 53310 ExecStart=/etc/init.d/httpd start (code=exited, status=0/SUCCESS)
Sep 03 05:15:58 Ekabyte systemd[1]: Starting LSB: starts Apache Web Server...
Sep 03 05:15:58 Ekabyte httpd[53310]: start apache... failed
Sep 03 05:15:58 Ekabyte systemd[1]: Started LSB: starts Apache Web Server.