[英]configure virtual hosts in hippo cms
I am new in Hippo cms, need your help! 我是河马cms的新手,需要您的帮助! I create my hippo project and started using Cargo, URL is: http://localhost:8080/site/ .
我创建了我的河马项目并开始使用Cargo,URL为: http:// localhost:8080 / site / 。 All works good.
一切正常。 But me need access to this site from another IP, I am using virtual hosts and this is not works.
但是我需要从另一个IP访问该站点,我正在使用虚拟主机,但这是行不通的。 Please help solve my issue!!!!
请帮助解决我的问题!!!
Virtual hosts should work for what you're trying to do. 虚拟主机应该可以满足您的需求。 Could you explain
你能解释一下吗
I took a look at your configuration and reproduced it on my machine. 我查看了您的配置,并将其复制到我的计算机上。 I added testlocal to my hosts file and pointed it to 127.0.0.1 and it works.
我将testlocal添加到主机文件中,并将其指向127.0.0.1,它可以正常工作。
Do remember that the CMS is always accessible via /cms, it doesn't need to be mapped via virtual host. 请记住,始终可以通过/ cms访问CMS,而无需通过虚拟主机进行映射。 This means that 127.0.0.1:8080/cms should work just as well on a local machine (with the exception of the channel manager).
这意味着127.0.0.1:8080/cms在本地计算机上也应同样有效(通道管理器除外)。
This means you could go to the IP of the machine hosting your site http://123.123.123.1:8080/cms and you should be able to login. 这意味着您可以转到托管您的站点的计算机的IP地址http://123.123.123.1:8080/cms,并且您应该能够登录。
Could you try that and let me know what the results are? 您可以尝试一下,让我知道结果如何吗?
Regards, Dodo 问候,渡渡鸟
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.