PDA

View Full Version : YOUR VERY OWN SERVER


sahanlak
03-08-2009, 12:06 PM
Yes of course, at the end you'll learn how to setup your own web server at home without spending a rupee.
Internet Connection is needed. Note that this will work only on static ip's.

1.How it works
Only one thing, we just make our computer a web server so everyone in the internet can access to your server (your computer). 100% Webhosting. When your computer is switched on your online.

2.Let's Start
We're going to setup a localhost. Those who doing php,asp must have a localhost to check their web pages.

Go and download WAMP http://www.wampserver.com

What is WAMP. If you set your web server you'll need a sever.

1.Apache (A free, reliable and using all the hosting companies
2.IIS(Coming with windows)


If you need php/mysql(must have for script installations such as phpbb, wordpress, joomla etc)Other apache modules

If we're going to setup these one by one, it'll be a hell of a task and even it'll be boring to me to tell it to you (Don't think that I don't know :D )

So wamp will do that task for us with a single mouse click. wamp installs On [W]indows with [A]pache, [M]ySql, [P]hp with essential stuff ( PHPMyadmin and so on )

At the installation process change the installation directory, but don't change anything else.

At the end remember to add a shortcut your desktop and if you want to run it at startup add a shortcut to startup folder on start menu.

Now open up your browser and type http://localhost. See now your computer has become a server.(If not working make sure wamp is running, a small icon must displayed in notification area)

3.Putting your sever online.

1.Click on wamp icon on notification area.
2.Choose "put online"

http://www.picfront.org/d/QpFZP7qXDOr/001.gif

4.Where do you put your files?

1.Click on wamp icon on notification area.
2.Choose "www Directory" from the popup menu.
http://www.picfront.org/d/oGOrTmvkf/002.gif
3.Remove index.php and add your content( Remeber to rename your home page to index)

5. Your Domain
Now find out your IP Goto => www.whatismyip.com (http://www.whatismyip.com)

Then create a free domain
.tk => www.dot.tk (http://www.dot.tk)
.co.nr => www.freedomain.co.nr (http://www.freedomain.co.nr)
.co.cc => www.free.co.cc (http://www.free.co.cc)

Upon registration set your redirect URL to your ip
eg:- If you're IP is 120.256.284 The URL will be http://120.256.284

Shared IP'S Will not work, only static IP'S

That's all. I'm sure you can't switch on your computer 24/7 * 365 days. So hosting a web site is not a good idea.

;) Here's a great tip. Sometime you'll need to share about 250MB or 700MB file with your friend. Stop wasting time on uploading it to a file hosting site. Just copy it to your www directory and send him the link.


Thank You For Reading

Read My Other Tutorials

Search Engine Optimization (http://www.elakiri.com/forum/showthread.php?t=154358)

Comments Are Welcome

( Await For More Tutorials On Every Sunday )

zaanrider
03-11-2009, 04:17 PM
hey u have mentioned that if i want to share a file with my friend i can copy it to www directory and send him the link.can i do it if i have a dynamic ip?..if can how ?

Shameer
03-11-2009, 04:41 PM
hack parak da danne ne :rolleyes:

OpenSpace
03-11-2009, 06:04 PM
if u haven't static IP (yep, most of haven't) go to no-ip.com

lankasuda
03-11-2009, 11:12 PM
if u haven't static IP (yep, most of haven't) go to no-ip.com

yes, this site also provide that facility
http://www.dyndns.com/services/dns/dyndns/

So we do not have to worry about the dynamic IP.

SaNDun
03-11-2009, 11:17 PM
install EasyPHP.. simple as 1. 2. 3. lol :D

buddhika19
03-11-2009, 11:20 PM
hmmmmmmmmmm

00gayan00
03-11-2009, 11:27 PM
Meka sure da
Kawda try karala beluwe????????????

gayan kalhara
03-11-2009, 11:30 PM
machan kiyanta leesiee.. eeth ape connection vala UPLOAD speed eka godak vadi venna oone.. home connection valata eeva thiyanavada? hik hik

anith eka PC eka vena vadakata yodanna ba.. site ekata godak user la vadee nam..

user la dennek aavath. PC ekai. net connection ekai sahenna busy venava..

habai.. mama server (ehema kiyannath ba) hadala thiyanava 56k dialup valinuth.. hik hik...userla enna nemei joliyata

but SLT eken katha karala package ekak illa ganna puluwan DSL. station ekata kittu venna venava.. :D hosting eeva laabai ne

zymic eke cheq karala ballanna.. 5GB denava 50 GB brandwidth ekak ekka :D (dan kohomada danne na.. issaranam ehemai)

Ashhab
03-12-2009, 07:22 AM
ela macha

xmpddaja
03-12-2009, 07:29 AM
machan kiyanta leesiee.. eeth ape connection vala UPLOAD speed eka godak vadi venna oone.. home connection valata eeva thiyanavada? hik hik

anith eka PC eka vena vadakata yodanna ba.. site ekata godak user la vadee nam..

user la dennek aavath. PC ekai. net connection ekai sahenna busy venava..

habai.. mama server (ehema kiyannath ba) hadala thiyanava 56k dialup valinuth.. hik hik...userla enna nemei joliyata

but SLT eken katha karala package ekak illa ganna puluwan DSL. station ekata kittu venna venava.. :D hosting eeva laabai ne

zymic eke cheq karala ballanna.. 5GB denava 50 GB brandwidth ekak ekka :D (dan kohomada danne na.. issaranam ehemai)


:yes::yes::yes::yes:
Oya Kiyana Dewal Lankaawe Karanna Bae.

gnate3_2009
03-12-2009, 07:40 AM
Machan meke thineya widiyata karana mage site ekata yanne ne. Yanne mage router eke settings page ekata :(

SaNDun
03-12-2009, 07:51 AM
Machan meke thineya widiyata karana mage site ekata yanne ne. Yanne mage router eke settings page ekata :(
router eken port forward karanna wenawa pyage pc ekata.

mulinma oya server eka setup karana pc ekata static IP ekak set karanna.. eeta passe router eke 80 port eka e pc eke IP ekata forward karanna

gayan kalhara
03-12-2009, 08:13 AM
:yes::yes::yes::yes:
Oya Kiyana Dewal Lankaawe Karanna Bae.

bari kamakuth na buns... :D :P:P:P danno danithi.. methana kiyanna ba :P

sahanlak
03-15-2009, 09:44 AM
bari kamakuth na buns... :D :P:P:P danno danithi.. methana kiyanna ba :P

Karanna Puluwan Habai Hriyanne Ne

thanujaka
03-15-2009, 09:47 AM
ok..................!!!balamu...................!! !

sahanlak
03-15-2009, 10:58 AM
Well seems guys have been taking this guide seriously. I just told you this for an experiment. Any way I have tested this. I have to mention one thing; you will be able to host a small page within 512kbps SLT ADSL line. Yes of course, web hosting is cheaper than this.

I have posted this for a testing. Teenagers like to do new things, isn't it? So just do it and ignore it. For high traffic file sharing, don't use it will not work properly. Still you can host a file and share it, tell your friend to download it using IDM.

Remember SLT ADSL unlimited package is only RS 1600 (I can't remember the exact amount). Quality bandwidth will never be cheap!

Dynamic IP'S will never work. Because these ip's a in a shared environment.

And remember some ISPs give static Ip's those changes about twice a day. Any way the IP you'll get will never shared by other persons.

;)

gayan kalhara
03-15-2009, 11:28 AM
mm on that case I had hosted a very basic Html for remem my passes few months ago with my CDMA dial up hik hik

nw i got a serv--- no no ITS EDITED. ;) never mind

gayan kalhara
03-15-2009, 11:29 AM
experiments is they way we should learn ne...

never think about wht we got.. think about Wht we can do with it :D

chanakamanjula
03-15-2009, 11:37 AM
MAKA SURE DA....

coolshano
03-15-2009, 04:36 PM
dynamic ip thama thiyemme////....

Dan01
03-15-2009, 04:50 PM
repost