Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUT] Setup a server on windows. ALL FREE!
#1
Ok this is a simple tutorial on creating a server within your windows system.
This will cover everything you need to get the server up and running including domain name and its all free!

1) Download wampserver from here. http://www.wampserver.com/

2) install wampserver. This is very straight forward. During install you may be asked by your firewall to allow Apache to act as a server. If so select yes as we are creating a server.

3) You will be asked to setup your SMTP server settings. (mail) Leave this default and that will be fine. Now the install is complete.

4) It will ask if you want to start apache now. Select yes.

5) Your firewall may ask to allow mysqld.exe for permission to run as server. Select yes for this also.

6) You will now see a small icon in the taskbar. Left click on that and select to Put online. Now the server is running and you can test this by going to this address. http://localhost/

Ok thats the server working now. You will want to edit the core files so you are showing your page instead of the default wampserver page obviously. This can be done by going to C:\wamp\www This is your root address for your server. You can change this but this is the default and will work fine.

Now the server is running we need to look at your router.
Most routers have firewalls now days and require some tweeking to get the server to actually work.
Access your router. Typically by using your browser and putting in an address similar to one of the below. This does vary router to router.
http://192.168.0.1
http://10.0.0.1

If you have no idea what the correct address is then try this.
Start/run/cmd then netstat -a -n in command and you will see something similar to this.

[Image: 12621527079157_cmd.jpg]

You will see i highlighted my local ip address. Now my pc has a local address of 192.168.0.5. This is important for the next step. Not the router external address the local pc address.
If my system address is 192.168.0.5 then i can assume my router address is 192.168.0.1. Similarly it would be the same if my local address was 10.0.0.5 therefor my router address would be 10.0.0.1.
This does vary quite a bit from router to router so i cant give a bulletproof answer to this. Some routers give the address on the bottom of them.

Ok assuming you have worked out your router address and your systems local address then we move forward to configuring the router.
Login to your router and go to your firewall settings.
Once again it varies router to router but most have advanced tabs and firewall tabs etc. We need to get into there to do some port forwarding.
Some routers even have a dedicated port forwarding area.
Find that and then you need to setup port forwarding to your local system.
You need to allow port 80 TCP and UDP to your system. I have done one as an example below.

[Image: 12621532393944_router.jpg]

Now the actual forwarding.

[Image: 12621533721078_router.jpg]

You will see i actually used port 81 for my wamp server. This is simply because i already run a server from home on another machine. You could simply use port 80.

Now lets assume at this point you have been able to port forward your router to allow port 80 to connect to your pc and wamp is running so there is only 1 step left. To get a domain name.

Lets go now to http://www.no-ip.com/
Register there if you dont already have an account. Its free!!

Once registered go to add host https://www.no-ip.com/members/dns/host.php
You will see a dropdown menu at top of a variety of different domain names you can get for free.
For the purpose of the tutorial i created http://supportforums.servebeer.com
Now assuming you have a dynamic ip address then we will need to download no-ip client from here https://www.no-ip.com/downloads.php
This is a very light weight tool that simply updates your ip address when it changes so the domain name knows where to go.

This was somewhat of a rushed TUT and i will answer any questions needed to help.
The Rules!
FTW Forum <-- Home of the Damned! --> Join me On MM


Reply


Messages In This Thread
[TUT] Setup a server on windows. ALL FREE! - by DAMINK™ - 12-29-2009, 11:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tut] Windows XP Customisation. Spl3en 55 16,851 09-06-2011, 04:58 PM
Last Post: ʟᴀᴛɪɴᴏ
  [TUT]How to Disable a Windows XP Sticky Key Notieboie 23 8,089 07-21-2011, 02:54 AM
Last Post: Drakon

Forum Jump:


Users browsing this thread: 3 Guest(s)