Guide – How To Start – WAMP Server on Windows Server 2019

Configuration and connection to WAMP Server on Windows Server 2019

  1. Press Win + R.
  1. In the window that appears, enter “mstsc.exe” and click “OK”.
  1. In the window that appears, enter the IP of the virtual machine and click “Connect”.
  1. In the window that appears, enter your username and password and click “OK”.
  2. Check the box and click “Yes”.
  1. Double-click on the “Wampserver” icon on the opened desktop
  1. After starting, a red icon will appear in the lower right corner. You need to wait until it turns green. As soon as the icon turns green, it means that all Wamp components have successfully launched.

Depending on the versions of the Wampserver installers, the default database manager is MySQL or MariaDB.

If MySQL is the default manager, it uses port 3306, in this case MariaDB will use port 3307.

If MariaDB is the default manager, it will use port 3306, in this case MySQL will use port 3307. In some cases, this may also be port 3308.

You may notice that MariaDB is the default database manager and if you want to use MySQL just right click the Wampmanager icon

  1. Then click “Wamp Settings
  1. And choose “Allow MySql”
  1. If you need to know which ports MariaDB or MySQL are using, right click on the icon bar
  1. Then open your browser and in the search bar type http://localhost
  1. In the window that appears, select “phpmyadmin”
  1. Enter admin in the Username field. Leave the Password field blank and click “Go
  1. If you receive an error message with versions, you can ignore the message and continue. This refers to the connection to MariaDB.
  1. If you need to transfer your databases between MySQL and MariaDB right click the icon Wampmanager
  1. Choose “Tools”
  1. Choose “Invert default DBMS MarinaDB <–> MySQL”

Creation or addition VirtualHost

  1. You need to determine where you want to host your local site.

For example : C:\wamp64\www\Name of new folder

  1. For simplicity of explanation, here are some names:

–  sitefolder  : the folder where you want to host the local site

–  sitename  : the name that will be called the local site (http: // sitename /)

  1. We need a folder to host the site that exists before the VirtualHost was created, we must create it with the explorer launched as administrator (see bottom of the page *) :

– Move in the disk tree to where we want to create the “sitefolder” folder

– Right click, select “New” then select “Folder

– then enter a folder name.

– Launch Wampserver, wait for W icon

  1. After the icon turns green, right-click on it and select “Localhost”
  1. In the window that opens, select “Add a Virtual Host”
  1. For “Virtual Host Name Without gap – Without underscore (_)” enter: sitename

For “The full absolute path to the VirtualHost folder. Examples: C: / wamp / www / projet / или E: / www / site1 /” we enter :

“C:\wamp64\www\sitefolder” or abbreviated C:\sitefolder\

  1. And press “Start the creation of the VirtualHost”
  1. As stated: This may take some time.
  1. After this “time” has elapsed, it may be indicated that, unfortunately, certain operations required for Windows and Apache to recognize this new VirtualHost cannot be performed automatically by the browser, so DNS must be reloaded
  1. To do this, click LMB on the “Wampserver” icon in the bottom panel, select “Tools” and then select “Restart DNS”. After that, wait until the icon turns green again.
  1. Now go back to the main menu

There you can notice that you have “Your VirtualHost” with these entries:

– localhost

-sitename

  1. Now everything is ready to set up your local site in a folder c: \ sitefolder \ indicating, if required during installation, that the  URL (http://sitename/) (no brackets).

* To launch an application using its shortcut as an administrator:

  1. Right click on the shortcut, then select “Properties”
  1. Click the “Advanced” button
  1. Select “Run as administrator”
  2. Then click “Ok”
  1. Select “Apply” and “Ok”

More information here – WampServer 

Website Built with WordPress.com.

Up ↑

%d bloggers like this: