Add in support for propery passing in the public hostname.

Needed to get backend apps to know it's real name.