对hosts操作
到目录C:WindowsSystem32driversetc
中修改hosts
比如你想删除iwh2.com
选中这2行进行删除,保存
退出
对httpd-vhosts操作
到目录D:Projectwamp64inapacheapache2.4.39confextra
中修改httpd-vhosts.conf
根据个人修改
选中删除,保存
退出
重启wamp
在任务栏中左键点击wamp图标,再点击重新启动所有服务
就可以实现删除
测试
在任务栏中左键点击wamp图标,再点击Localhost
发现虚拟主机iwh2.com就不存在了