How to disable FQDN default domain in apache Centos 7
by LinuxLover from LinuxQuestions.org on (#5NRD0)
we are using Apache servers on Centos 7. Apache version is 2.4.34
Apart from other defined https domains, apache automatically add one domain with FQDN name of the machine. as in below example it is adding php-apps-03.etq.global.
How to disable this default appearing domain?
[root@php-apps-03 conf.d]# apachectl -S
VirtualHost configuration:
*:80 WebsiteDefault (/etc/httpd/conf.d/default_vhost.conf:8)
*:443 is a NameVirtualHost
default server WebsiteDefault (/etc/httpd/conf.d/default_vhost.conf:13)
port 443 namevhost WebsiteDefault (/etc/httpd/conf.d/default_vhost.conf:13)
port 443 namevhost eic.XXXX.com (/etc/httpd/conf.d/eic.conf:12)
port 443 namevhost php-apps-03.etq.global (/etc/httpd/conf.d/ssl.conf:56)
ServerRoot: "/etc/httpd"
Apart from other defined https domains, apache automatically add one domain with FQDN name of the machine. as in below example it is adding php-apps-03.etq.global.
How to disable this default appearing domain?
[root@php-apps-03 conf.d]# apachectl -S
VirtualHost configuration:
*:80 WebsiteDefault (/etc/httpd/conf.d/default_vhost.conf:8)
*:443 is a NameVirtualHost
default server WebsiteDefault (/etc/httpd/conf.d/default_vhost.conf:13)
port 443 namevhost WebsiteDefault (/etc/httpd/conf.d/default_vhost.conf:13)
port 443 namevhost eic.XXXX.com (/etc/httpd/conf.d/eic.conf:12)
port 443 namevhost php-apps-03.etq.global (/etc/httpd/conf.d/ssl.conf:56)
ServerRoot: "/etc/httpd"