Hi,
> I could never find the file httpd-vhosts.conf. as the extension didn't contain .conf.at the end.
You do not see the file extensions because, by default, Windows hides them.
Note : The terms used below are a translation into English of what I see in my File Explorer which is in French. This can only be approximate and not reflect the actual English terms.
To see the file extensions, you need:
- Launch the File Explorer
- Tab Display
- Options -> Modify the options of folders and search
- Tab Display
- Advanced parameters
-- Hidden files and folders
--- Check Display hidden files, folders and drives
--- Uncheck extensions of known file types
Apply
OK
The simple, fast and durable way to open the httpd-vhosts.conf file directly with your default text editor is:
Left-Click Wampmanager tray icon -> Apache -> httpd-vhosts.conf
> One last question. Everytime I want to access into the back end of my new virtualhost (peter.test)
> I have to type on the browser "peter.test/wp-login.php" to get to the wordpress log in page
> If I use Your VirtualHosts from the wampserver menu I only access to the web itself of front end.
This is completely normal and it would be the same for a host provider.
To completely delete the definition of a VirtualHost, there is a tool in Wampserver.
- localhost
- Tools -> Add a VirtualHost
or Left-Click Wampmanager -> Your VirtualHosts -> VirtualHost management
- Click on "Suppress VirtualHost form" button
- Check the VirtualHost you want to suppress
- Click on Suppress VirtualHost
This deletes the VirtualHost definition in httpd-vhosts.cont and hosts files but does not delete the files or folder.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons