wamp的多站点搭建非常的简单
1. 添加端口(可以省略)
首先你可以在 wamp 的 Tools 下的 Add a Listen port for Apache 处添加监听端口
这里添加一个8089端口
2.配置站点
在浏览器中进入 localhost 页面,点击下方 Tools 中的 Add a Virtual Host
进入如下页面,配置输入相应的信息
再点击右下方的 Start the creation of the VirtualHost (May take a while...) 确认
重启wamp
再次进入 localhost 可以看见右下方的 Your VirtualHost 中出现了新配置的站点,新站点已经可以使用