PinoySource Forum - Computer & Technology Community Philippines
Register Blogs Groups Albums Arcade Members Mark Forums Read
Annoucements:  
Threads: 1,445 | Posts: 8,235 | Members: 1,628 | Online: 3 | Newest : bryanezz (Welcome!)
Go Back   PinoySource.org > Computer & Technology Board > General Technology > Computer Networking
Reload this Page How to setup your own web server at home
How to setup your own web server at home within the Computer Networking forums - Networking computers at home / work or wireless. Computer networking technology discussions., CCNA, cisco router, cisco firewall, Cisco networking

PinoySource - Computer and Technology Community Philippines

The Pinoy Source is an Information Technology Community of All Filipinos dedicated to the exchange of ideas and information relating to all aspects of Technology such as Tech News, Computer Hardware, Mobile & Gadgets, Internet & World Wide Web, Graphics, PSP, Pinoy Bloggers, Friendster, Music & anything and everything. PinoySource is also a social networking place where people chat, add friends, get to know our each other & form friendship. PinoySource is Powered by WordPress Blog for our homepage & Vbulletin for our forum discussions.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), Play Arcade, Chat using PS Chatbox, respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please,
join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
NOSIOJ View NOSIOJ's Photo Album is Offline
Content Team
NOSIOJ is an unknown quantity at this point
 
NOSIOJ's Avatar
 
Posts: 498

Referrals: 9
Thanks: 2
Thanked 26 Times in 22 Posts

Join Date: May 2008
Age: 17
  Send a message via Yahoo to NOSIOJ  
Points: 1615.36
Default How to setup your own web server at home - 06-09-2008, 04:38 PM

Why would you want to set up a server at your home when there are so many free web hosting services available? Simple, because it's fun! Besides, there is no better way to learn than to set up your own server. Setting up a web server is very easy, thanks to software packages like EasyPhp, Abyss Webserver, XAMPP etc. You don't need to have any knowledge about Apache, PHP or ASP to use them. Each software allows it be configured according to your needs but you can safely leave it to its default settings. I choose Abyss Webserver because it has a very user friendly GUI and is very easy to configure.

Before you get down to setting up a server, its better to test the upload speeds of your internet connection because the speed at which your visitors will be able to download from your server will depend upon the speed at which you will be able to upload. DSLreport is a good site to test the connection speed. If your upload speed is anything greater than or equal to 256 Kbps (or 32 KBps) it will do. If the speed is lower than that, don't worry, it will work too. But it will take longer time for the page to open. And if you have more than one visitor at the same time it could take even longer.

Tip: You should try to keep the size of your pages as small as possible to enable faster page loading. For this, upload all images on your website to an external server, i.e. any image sharing site.

Now lets get to the actual procedure. First download Abyss Webserver and install it. When you run the application it will start listening at port 80 which is the default port for all HTTP connection. Before you can start configuring the server, you have to create an Admin account for yourself. After you've created an account, login and you will be presented with this page.




Clicking on Configure (Hosts) will take you to this




As you can see there are tons of settings available. Each one of these options will take you to more settings for you to find tune your server. I will leave that for you to explore.

After you have installed and run the webserver, open your browser and type http://127.0.0.1. If you get the Abyss's default page you know that your server is up and running succesfully. Now all you have to do is replace the index.html file under \Abyss Web Server\htdocs\ with your own files.

Your website will now require a hostname so that others can access it. Since your home net connection is probably on a dynamic IP we will use a service which is known as dynamic DNS. No-IP is one which gives this service for free. Go to this site and register a hostname for yourself. Then download their client software. This software will monitor your IP address and immediately update their DNS server whenever your IP changes. So no matter how many times your IP address changes throughout the day, the DNS servers will always map your domain name with the current IP address.




We are almost done. If your DSL router is configured in the Pure Bridged mode than there is nothing else to be done. But if your router is not configured in the bridged mode and doesn't allow any service from the Internet to access your PC, you need to setup port forwarding. When you setup port forwarding the router will transfer all requests to your PC from the Internet to the port number you assign.

To setup port forwarding type http://192.168.1.1 (or http://192.168.0.1) in your browser to take you to the router's login page. Enter the username and password (usually both "admin" by default). Different routers have placed the port forwarding settings at different places. You will find it either under the NAT, or Virtual Server or simply Port Forwarding. In the port forward settings, do these.

# Enter the static IP address of your PC i.e. the Ethernet card's IP in the Private IP field.
# Set both Public and Private port as 80.
# Set Protocol as TCP and click Save.

If you have difficulties port forwarding than there are a lot of resources on Internet that will guide you through the process.

That's it!! Now you can test your site from another PC not sharing your internet connection. If everything is working right you should be able to open your site. You can also test whether your port 80 is visible from the outside world, which is essential in order to access your site, by going to http://canyouseeme.org and entering the required port number. Don't forget to open the port 80 in your Windows firewall, if its running.

Caution: Running a web server on your PC is risky because it opens up your PC to everybody on the Internet. Be sure to have an updated Anti Virus, a firewall and an up to date Windows


  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
]
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB home pregnancy test johnxarce Computer & Technology News 4 06-12-2008 05:22 PM



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
PinoySource.org Computer & Technology Community Philippines, Copyright ?2008, by johnxarce

Online Users