theforeman/puppet-foreman — pull request #47 by adunkman (2013-03-20 22:15:59+00:00)
Title: Remove IP address from virtual host configurations

Was there a reason why IPs were used here?

Just ran into an issue this afternoon where using the machine's IP doesn't allow the puppet master to retrieve node information if the puppet master and the foreman server are the same machine (since the request comes in on 127.0.0.1).

Apache seems to recommend against it (noting that it was required with mod_ssl in apache before 2.2.12): http://httpd.apache.org/docs/2.2/vhosts/name-based.html#namevip