How to delete a virtual host?
Posted by: Distinguished (---.neo.res.rr.com)
Date: April 03, 2016 11:47PM

I renamed a virtual host folder and it is now giving me an error message:

The path c:/wamp/www/mysite/ for DocumentRoot does not exist (File c:/wamp/bin/apache/apache2.4.18/conf/extra/httpd-vhosts.conf)

The path c:/wamp/www/mysite/ for <Directory... does not exist (File c:/wamp/bin/apache2.4.18/conf/extra/httpd-vhosts.conf)

So I just would like to know how to delete that folder. I tried searching for the answer, but didn't see anything regarding it. Thanks.

Options: ReplyQuote
Re: How to delete a virtual host?
Posted by: RiggsFolly (Moderator)
Date: April 04, 2016 01:52AM

Hi,

Edit \wamp\bin\apache\apache{version}\conf\httpd-vhosts.conf

Then find the <Virtual Host> that matches the one you changed and then either delete it or rename the folder names to the new folder names.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.