【发布时间】:2016-08-22 19:30:29
【问题描述】:
我有 5 个网站将托管在一个专用服务器上。
### Many documents(apache2) provide help to achieve this
site1.com > should access /var/www/html/site1
site2.com > should access /var/www/html/site2
但我想要的是下面的场景......我如何在 Apache2 中实现这个(下面)?
### So for example (eg. IP: 54.33.123.21) :
54.33.123.21/site1 > should access /var/www/html/site1
54.33.123.21/site2 > should access /var/www/html/site2
我只需要使用 IP。暂时没有任何域名。
提前致谢。
【问题讨论】:
标签: apache hosting apache-config dedicated-server multiple-sites