Hi,
In a way, a VirtualHost is a box, virtual of course, but a box that will contain information like :
- Site name (ServerName)
- Where is the site (DocumentRoot) and on which storage device?
- Site folder (<Directory) parameters such as access permissions, possible url rewriting, and others.
This simply allows the 'http' protocol to display the page in a browser.
Apache Documentation : [
httpd.apache.org]
All hosting providers use VirtualHost, but you didn't know it and you don't see it because VirtualHost already exists when you install a site there.
And this is the key to the problem of the proper installation of a CMS or a web application and WordPress in particular.
But.... VirtualHost must exist BEFORE installing WordPress on it.
To avoid risky manipulations, I advise you to delete your current Wordpress, create a VirtualHost and, with Wampserver, it can be done in three clicks, then only then, install Wordpress in this VirtualHost.
And, for your information, there is absolutely no requirement that the VirtualHost folder be wamp64/www/wordpress/ it can be c:/mysites/wordpress/. The only relationship between the name of your site (ServerName) and the folder in which it is located is precisely the VirtualHost definition.
See
The need for Virtual Host and
Wampserver 3 - Create or add a VirtualHost> I am a reasonably experienced IT person but am new to WAMP.
A quick wink: Not so new, you already posted 22 messages here ten years ago, five years ago and three years ago.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addonsEdited 1 time(s). Last edit at 10/28/2019 07:44PM by Otomatic.