[Openstack] Can't access Horizon from outside

Matthias Runge mrunge at redhat.com
Thu Feb 18 08:25:41 UTC 2016


On 18/02/16 02:40, Wilson Kwok wrote:
> Hello,
> 
> I used RDO to installed single node. I can access
> http://private_ip/dashboard in local LAN, when I access
> http://public_ip/dashboard that not allowed, remember I can access
> http://public_ip that can see the Apache testing page.
> 
> I have checked local_settings file > ALLOWED_HOSTS = ['*', ] , what I
> can do now?
> 
> Thanks

Make sure your fully qualified domain name for the machine hosting
horizon is included in the Server aliases section in
/etc/httpd/conf.d/15-horizon_vhost.conf
It's at the bottom of that file, simply add a line like
ServerAlias horizon.redhat.com
ServerAlias 8.8.8.8
(change to suit your needs here), you can also add multiple of those lines.

Matthias







More information about the Openstack mailing list