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 (/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 (/etc/apache2/sites-enabled/anotherwebsitedomain.conf:29)

I'm trying to figure out why these sites are showing for namevhost instead of something the usual

I've grepped through the apache configuration files and I do not see that 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