

- How to use wamp server to develop a website how to#
- How to use wamp server to develop a website install#
- How to use wamp server to develop a website update#
- How to use wamp server to develop a website download#
- How to use wamp server to develop a website windows#
Now since you have enabled the virtual host, you also need to enter the local host details in the nf which is located under folder "C:\wamp\bin\apache\apache2.4.9\conf\extra".
How to use wamp server to develop a website how to#
Last but not the least, How to access localhost? Watch the complete video guide on YouTube. Step 4: Restart all services in WAMP and now you should be able to access the index.php located in your project root directory by typing the v in the browser's address bar. Enter the below lines into it and then save it: 127.0.0.1 v open notepad application in administrator mode and open the file "hosts" located in the above mentioned directory.
How to use wamp server to develop a website windows#
Step 3: Change the windows host file located at "C:\Windows\System32\drivers\etc". Now this entry will enable the virtual host to redirect to your custome folder which is outside of the wamp installation directory and you can access your web root by typing v in the browser address bar. So the configuration should be added to the file is: Lets assume that your host name is v and your project root folder is "d:\projects\example\www\". Here you need to add the entry of your custom host accordingly.
How to use wamp server to develop a website update#
Step 2: Update the virtual hos configuration file nf which is located under folder "C:\wamp\bin\apache\apache2.4.9\conf\extra". In this step you have actually enabled virtual host feature in WAMP's Apache server. So after the change the above two lines will look like: # Virtual hosts You need to uncomment it i.e remove the # from the Include command. Initially the virtual host inclusion is commented. Open the nf file usually located at " C:\wamp\bin\apache\apache2.4.9\conf" and find the below settings: # Virtual hosts Step 1: Enable the Virtual host configuration in Apache's nf file. Put the notepad file we created earlier to "D:/MyNewTest"and refresh the browser page to test the PHP.Setting up virtual host in WAMP server involves the below steps: Go to your browser and type the You will see the root index now. But now you are aware that setting up a development server using WampServer can save a lot of time and frustration and provide you with the means to safely develop your next killer application on your local machine. Then you will be asked what is the actual folder that MySite alias point to. In closing, server-side programming without doubt has its challenges. Previous one was "TestSite" which is actually the folder name itself.

Then you will be asked to give an alias to the site, this is what you type after in the browser. Then go to,Īpache > Alias directories > Add an alias Ok, first click on the little Speedometer icon on the notification area. Now we have to tell the WAMP server that this folder contains a web site and it should come up when the URL is called through the browser right? Well, if we want separate our web site folders from the WAMP server folder and put somewhere else in the hard drive then procedure gets a bit tricky for the beginners.įirst create the folder you want as the web site root folder.

Step2: Assigning a root folder outside "www". Go to your browser and call If you see something like this then you are ready to do building rest of your dynamic web site. Then same it inside the newly created folder and name it index.php. Open up a simple notepad document and insert the following on it (don't copy the formatting. Go inside the Better if you do not put spaces.
How to use wamp server to develop a website install#
Let see step by step on how to create a root folder for our new web site that has to be built using PHP.Īfter installing WAMP on your local machine (You should see a white Speedo meter on the notification area) goes the folder where WAMP resides (If you install it on you C: partition then it is C:/wamp/). Popular and more robust one is WAMP server. Step 1: Easiest way After installing WAMP on your local machine (You should see a white Speedo meter on the notification area) goes the folder where WAMP resides (If you. Let see step by step on how to create a root folder for our new web site that has to be built using PHP. To tackle these problems there are several packaged solutions on the net. Popular and more robust one is WAMP server. Also if you want to administer MySQL on the browser you will have to install PHPMyAdmin which is a burden for the novice user.
How to use wamp server to develop a website download#
Normally we would have to download Apache from, MySQL from and configure these separately to work with each other on our local machine. But when it comes to dealing with PHP and MySQL you will need a web server (software) to test the sites you make. As a web developer many want to test their developments on their local machines.
