We all need a space to test all our latest projects but not all of us have $5 extra to spend on hosting. I will show you an easy way to setup a local (Your computer you are working on or have on your network) server on your computer. You can run any html website just by clicking on it without the need of a server but at the end of the day you want to run a website with a database. If you want to run a website with a database you will need a program called MySQL to keep all your database files.
So let me break it down for you.
To start a local server you will need:
- Apache (This will make it possible for your users to see the sites content)
- MySQL (This is the database that will store all your files example username, password and so on)
And the best thing is it will not cost you a penny.
Let’s get started
First off all you will need to download a program called xampp and you can download it from Here
Once downloaded click on the file that you just downloaded
Once you clicked on the exe you might get a message prompting that your anti-virus is activated it is nothing serious just click yes.
You will be represented with one more screen just click on OK (it’s the only option :))
From Here on it are just your normal install windows. Follow the instructions below.
Now your server is all setup and you are ready to start your website. You can look at your site by typing in the address bar localhost or 127.0.0.1.You will see a Xampp site it is the default index pages of the xampp services. To see these files you can go to the destination you installed the services remember (c:\xampp) or whatever you chose.
Once you are in the root folder follow this root
That is where all the files are if you delete these files and replace it with your own you will see your files on the URL: localhost or 127.0.0.1
If you have any questions or need any help feel free to comment down below.