[OpenStack-Infra] The future of our server naming patterns

Jeremy Stanley fungi at yuggoth.org
Tue May 24 17:41:14 UTC 2016


On 2016-05-24 10:21:43 -0700 (-0700), Spencer Krum wrote:
> At the summit Clark pointed out that many of our vhost templates could
> be simplified to listen on *. I think this works for http, not sure
> about https.
[...]

Yeah, I had to do it recently for the storyboard servers, since it
appears that if your /etc/hosts only associates the name with your
loopback interface then Apache 2.4 won't match name-based virtual
hosts for it to requests coming to other addresses/interfaces.

That alone is insufficient though, you also need to adjust the
ServerName directive to be the actual DNS name you want clients
connecting to rather than the server's hostname. In some cases this
means plumbing a new parameter in from where you're instantiating so
that you can set it independently.
-- 
Jeremy Stanley



More information about the OpenStack-Infra mailing list