How is namevhost derived in output of "apache2ctl -S" command?

by StevieD   Last Updated October 19, 2019 20:00 PM

When I run apache2ctl -S on my server, I mostly get something like this for each website on the server:

port * namevhost www.websitedomain.org (/etc/apache2/sites-enabled/websitedomain.conf:29)

Notice that the string after namevhost matches the domain name for the web site.

However, there are a few dozen websites on the server that report the web server's host name followed by the domain name for the namevhost setting, like this:

port * namevhost server_hostname.server_domain_name.com (/etc/apache2/sites-enabled/anotherwebsitedomain.conf:29)

I'm trying to figure out why these sites are showing server_hostname.server_domain_name.com for namevhost instead of something the usual www.anotherwebstiedomain.com.

I've grepped through the apache configuration files and I do not see that server_hostname.server_domain_name.com is anywhere in the configuration. So where might this string for namevhost be coming from?

Tags : apache-2.4


Related Questions


Updated January 11, 2016 08:00 AM

Updated November 12, 2018 19:00 PM

Updated April 16, 2016 08:00 AM

Updated September 28, 2019 17:00 PM