How To: Create aliases on WAMP server

If you are looking for a quick and easy ways to create server aliases, WAMP server is your answer.

What is an Alias?

Let us assume that you are using the document root for main site, and you want to direct the server directories outside the document root. For example, you want to map following:

  • Students -> C:students
  • Teachers -> C:teachers
  • Principal -> C:principal

WAMP server interface by default allows you to quickly set up aliases, but they might not work.

Adding Aliases from WAMP Interface

Left-click the system tray icon and then go to the Apache -> Alias Directories -> Add An Alias

How To: Create aliases on WAMP serverA command prompt will open prompting you to create the alias URL

How To: Create aliases on WAMP server

Type the names of the alias; this will be what is added onto the http://domain_name/address e.g. (

Enter the location of the folder that will house the pages for this website. keeping with our earlier example, type C:students and then hit Enter.

The alias will now set up according to WAMP.

Don’t panic if the alias doesn’t work.

When you create the alias using the WAMP server, it creates the necessary file in the correct location, but it adds all the content in one line

 The file should look like

To edit that file, follow these steps:

  • Left-click the WAMP icon in the system tray.
  • Go to Apache -> Alias Directories -> ALIAS_NAME -> Edit Alias (here ALIAS_NAME is the name of the alias you just created).
  • In the Notepad window which just opened, edit the configuration file to reflect the above contents and save it.
  • Edit the configuration file to best fit your needs (according to the Apache specifications).

Restart the WAMP server, and you should be able to point your browser to http://localhost/students. (Of course, you’ll need content within the C:students directory.) If you get an error, check to make sure the alias directory’s permissions allow the server to read the contents; this will be dictated by a number of issues, such as whether the server resides on a Windows domain.

WAMP does not start

A lot of time you might face a trouble that WAMP will not start. The Wamp icon may be red or yellow prompting that there is some trouble in starting the WAMP properly. Sometime even the icon is green but the WAMP would not run even then.

What is WAMP?

Wamp is package of services (Apache, Mysql, etc.) running on your computer. All these services (Apache, Mysql, etc.) use certain ports to run. If the port required by a service is being already used by some other service, then the WAMP will give you a warning by making the WAMP icon appear either in red or orange color.


How to solve Apache port conflict:

If the issue is related to the Apache port conflict, we can resolve it by changing the default Apache port (Port 80) to some other port number. To do so please follow the steps given below:

  • In the systems tray at the bottom right of your window left-click the orange WAMP icon.
  • Go to the Apache option.
  • You can see the httpd.conf  option. Left-click on it.
  • Search for a line that says “Listen 80” and change it to “Listen 81”.
  • Now left-click the orange WAMP icon and choose “Restart all services”.


If the WAMP icon turns green then you had the Apache port error and it has been resolved. But you will have to use http://localhost:81 as your URL instead of http://localhost.

If you don’t like to use http://localhost:81 as your URL then you have to find the application running on port 80. To do this please follow the steps given below:

  • In the systems tray at the bottom right of your window left-click the orange WAMP icon.
  • Go to the Apache option.
  • You can see the Service  option. Left-click on it.
  • Click “Test Port 80”.


A command prompt window will open. This window will show if the Port 80 is being used by Apache or not.


Now if some other application is running on port 80, we have to find it and close it. Follow the steps below:

  • Press Window+r and type cmd. Press Ok. This will open Command Prompt.
  • Type netstat -aon | findstr:80 and press enter button. This will show all the applications running on the port 80.
  • Here you can also see the PID of the application running on the port 80.


Now when you have found the culprit , the next step is to close the application running on port 80.

  • Right click on you taskbar. Click on the Task Manager option.
  • Click the details tab.
  • Here you can see the PID column. Search your culprit service.
  • Right click on the service and press End Task.

Once the conflicting application is stopped, you can now try to start the WAMP and it will hopefully work fine.

How to solve MySQL port conflict:

Apart from Apache port conflict MySQL port conflict is another common cause on WAMP not working. If you are facing any such issue please follow the following steps to resolve the issue.

  • Press Window+r and type cmd. Press Ok. This will open Command Prompt.
  • Type “Services.msc” and press enter.
  • Sort the columns by name and look for “wampmysqld” or  “wampmysqld64or “MySQL”.
  • If the status of the process is running, double-click it and press the “Stop” button on the dialog box which appears.
  • Click Ok.
  • On the System Tray left-click on the WAMP icon and press “Restart all services”.

How To: Fix WAMP MSVCR110.dll Not Found or Missing Errors

MSVCR110DLLThere are more than one ways to resolve the issue of missing MSVCR110.dll on WAMP  server. The most common error message which occur while installing WAMP is This application failed to start because msvcr110.dll was not found. Re-installing the application may fix this problem.

Some of the most common reasons for this error

  1. There might be an issue with Windows Registry.
  2. You PC might be infected with some Malware.
  3. There might be a hardware failure.
  4. You might be installing a program that might have corrupted the MSVCR110.dll

How to fix the error

  1. Download the Visual C++ Redistributable for Visual Studio 2012 Update 4 package and run it. This will replace/restore the msvcr110.dll with the most recent copy provided by Microsoft. You will need to select the download based on the version of Windows installed on your PC. For example: x86 (32-bit) or x64 (64-bit). This solution will resolve the issue most of the times. For downloading the Visual C++ Redistributable CLICK HERE
  2. Run a malware/virus scan with you antivirus. It’s even possible that the msvcr110.dll error you’re seeing is related to a hostile program that’s masquerading as the file. Running a malware/virus scan will resolve this issue.
  3. If you think you might have accidentally deleted the msvcr110.dll then you might find it in Recycle Bin.
  4. Repair your Windows installation. If the individual msvcr110.dll file troubleshooting advice above is unsuccessful, performing a startup repair or repair installation should restore all Windows DLL files to their working versions.


  1. Do not download msvcr110.dll from a “DLL Download” website. They might contain virus. Try to get form a legitimate source.
  2. If you cannot access Windows normally due to msvcr110.dll error, try restarting Windows in Safe Mode.