[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


How to create Your OWN Server - PHP + MYSQL + APACHE (windows)

Published on
10,944 Points
2 Endorsements
Last Modified:
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP).

I'll talk about and explain each step... :)

By the way, everything in this Tutorial is completely free and legal. This article is for windows but will work on mac and linux as well.

1. wamp server
Wamp server it is basically a software system that runs a linux server. This software has everything you need to run a site including: php enigne, apache and MYSQL database. It does make it fairly easy to get a site up and running and it is simple to use.

MYSQL is a database (open source) that lets us work with data, SQL..
Apache is a software web server that organizes the requests for the server. If there is more then one user in, there should be a queue, so it works throught the queue one by one in order of the requests.
PHP engine runs our php code, the compiler converts our php source code to computer language... (010010101) hh :)
So... now you know the components, let's get to work.

download links:
1. http://www.wampserver.com/en/download.php - download the version that you want...
2. http://www.no-ip.com/downloads.php - download the version to your operating system..
3. register at no-ip site: http://www.no-ip.com/newUser.php - register, you will need to confirm the email, take that into account before you try to use.

OK, after that, setup the wamp server that you downloaded - when installing, use the defaults - just press next and next and next..


and next..


any step, just click next next and next.. :)

After you done all the "next", start the wamp server. As you can see, it is red..
red = not working at all.
orange = only mysql work, apache doesn't work.. (not good :)
green = both, mysql and apache server work, the server up and running..

BUT!!!! As you can see, it is not online!!! So only localhost work (your pc..)
When it has turned into green(the icon of wamp server), click on the menu (left click) and click Put Online..
Now, any one in the world can enter your site... but they have to enter the ip.. not so much fun.. Let's fix that!!!

So install the no ip software.. After that, enter the username and password that you registered with in the web site..

Then log in to the website, and add hosts, from this url: https://www.no-ip.com/members/dns/
Click Add a Host button on the right side of the page, and you should get the page..
After you have clicked on create host, on the right side of the page, the host will be added.
Then go back to the software and click on select Hosts
check your host name, and that's it, any one in the world that write your address will redirected to your site!!!

the software checks if your ip changed and if it does, it will update all of your domains (you can have upto 5 for free domains...)

now, you can go to your C:\wamp\www - there are the public files, where any user can reach, as you can see, the index page is the default one (unless you change the default settings on the installation). Now just start coding!!!! :)

If you have problems with turning the wampserver online mode simply wait until it becomes green, then click Put Online..
that should work...
If you still can't get it green, check your firewall, that is one of the things that makes a lot of trouble.
Reset / reboot your PC

If all of that things does not work, uninstall and reinstall the software, also check:
http://www.experts-exchange.com - can get a lot of help here...

That is all, hope I helped you guys and hope that you find this article useful
1 Comment
LVL 38

Expert Comment

I've tried a lot of different WAMP packages (WampServer, XAMPP, Triad, etc...) but the best one so far has been EasyPHP. It is kept up to date frequently and has a simple, easy interface.


Featured Post

Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Join & Write a Comment

Wrapper-1-Query. Use an Excel function to calculate a column for an Access query. Part 1. Shows a query in Access that has a calculated column with the results of an Excel worksheet function. See how to call a wrapper function from a query, and …
Please check the video also in regards to recovery of deleted emails from office 365 admin center and through the MFCMAPI tool. I have mentioned each and every step with the proper steps that need to be taken care of.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month