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
#2
Great tutorial will sure come in handy for people ;).
Reply
#3
Yea i was asked today to make it. So i made a simple one.
I am in the process of doing a linux one. But this will be far more complexed so it may take me a day.
The Rules!
FTW Forum <-- Home of the Damned! --> Join me On MM


Reply
#4
so i made a name and idk which of the 5 options it gives me to select, i selected the original one and then the redirect one but nothing happened Sad and yes i followed all the steps!
nevermind im stupid, i redirected it and after 5 mins it worked
Google es tu mejor amigo :]
Reply
#5
Cool mate. Yea the name update can take up to 5 min. Should have mentioned that sorry.
Glad to see it worked for you mate. Smile
Good tut then i guess lol.
Going to take down the test server tomorrow as i want to install 7 over xp. Sorry about that if anyone did not get to see it working but based on QBANBOY407 and him getting it working its a sound tut so adios supportforums.servebeer.com
The Rules!
FTW Forum <-- Home of the Damned! --> Join me On MM


Reply
#6
i can't deny it! is really good, i wanted to do this for a looonnnggg time!

Oh and im running it on a virtual box Smile since it didnt wanna work on windows 7 Sad
Google es tu mejor amigo :]
Reply
#7
Awesome tutorial, and nice to mess around with. Big Grin
Reply
#8
Glad to see people using this Smile
Any questions dont be afraid to ask. If i cant help you can be sure there are others here that can.
The Rules!
FTW Forum <-- Home of the Damned! --> Join me On MM


Reply
#9
Can this work with windows 7?
Google es tu mejor amigo :]
Reply
#10
(01-01-2010, 07:35 PM)QBANBOY407 Wrote: Can this work with windows 7?

(12-30-2009, 08:59 AM)QBANBOY407 Wrote: Oh and im running it on a virtual box Smile since it didnt wanna work on windows 7 Sad
At the top will be the same place you hang from.
Reply


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

Forum Jump:


Users browsing this thread: 2 Guest(s)