Setup Your Own Web Hosting Server
Author: Prashanta
12
Dec
Do you want to host your website in your own home computer and make it available to world? I am going to describe the simple steps to set up your own web hosting server in your computer.
Here I am using WAMP (Windows, Apache, MySQL, PHP) web server which is fully configured and easy to install. The steps listed here do not provide explanations in depth. I assume that you have technical knowledge about how to do which is required.
Step 1: Installing Web Server in your computer
- Click here to download WampServer. [WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin and SQLiteManager to easily manage your databases.]
- Double click .EXE file and follow the instructions on the screen. The WampServer is installed automatically with Apache, PHP and the MySQL database.
- Now start WampServer from Start>All Programs>WampServer>Start WampServer if you did not select to start automatically while installation.
- You can put your web files inside www directory of WampServer installation directory. (Generally c:\wamp\www).
- To check your web server, type http://localhost in your web browser’s address bar. The hosted folders will be listed in your web browser. This shows that your web server is installed successfully and ready to run web files.
Step 2: Make Your Website Available to World
- Your new web server responses for incoming requests on port 80. If you have a software firewall or a NAT firewall (router), then these requests may be blocked. You will need to configure your firewall to allow incoming requests on port 80. If you’re having trouble configuring your firewall, check Software firewall configuration and Hardware firewall configuration.
- Now your web server is accessible from outside by browsing your IP address. You can know your IP address from WhatIsMyIP.com. But browsing your website using IP address is not reliable and practical. Next thing your IP address is always changing. So you have to get static IP for your webserver which is described in next point.
- Here I am using DynDNS.org which provides free URL that points to the IP address of your web server. Go to DynDNS.org and create your free account there.
- After creating your account, log in to their website and go to Dynamic DNS and click on Add Dynamic DNS. Choose your desired name (eg. MyWebServer) and select dyndns.org from the drop-down. Now your website URL will be http://mywebserver.dyndns.org.
- If the IP address field isn’t automatically filled in, enter your IP address. (Get your IP address at WhatIsMyIP.com) Then click on Add Host.
- After doing all these steps you have to install Dynamic DNS Updating Client which can be found in Support section of DynDNS.org. This will help to update your changing IP address to DynDNS.org.
Now you are done and ready to host your own website from your home computer. Did you find this tutorial helpful or useless? Have any comments and suggestions? Please do post them here.
11 Responses for "Setup Your Own Web Hosting Server"
Hi k chha ani i will like to thankx the weblog.com.np team for providing us the tools using articles…………………….
Hello there
I’ve installed WAMP server and it works well, then i went to dyndns.org and registered a hostname and downloaded the client updater.. everything works well, but when i open mozilla and type in the myhostname.dyndns.org it comes out that i have no permission/access to “this” server. I am using Windows Vista and no router is connected to my laptop. I would highly appreciate some kind of step by step tutorial about how previously created website (with html, php, mysql) to be visible to visitors on myhostname.dyndns.org? By the way i have tried changing the port for apache, disabling the firewall, opening more ports, but i keep getting the same message.
Thank you in advance
Zoran
your article is much more informatic for all of the visitor. I am very happy to read it. Thank you for it.
HI
Thanks for the tutorial, I have everything setup but had no idea how to host my own website, atleast from here i know what to do. thanks alot.
i have found it usefull but the dynamic dns update cant refressh ip address is there a way to go over that?
Hi,
How do u configure FTP access to www folder?
Very usefull this tutorial.
Thank you very much.
this tutorial is not k… because i made all of this and don’t work…. i think that i must change some in wamp but i don’t now why and what….
Very useful information. How about if i use xampp. it’s same configuration with wamp?
doesnt work for me .. theres some extra work required for wordpress hosted on wamp server!!
when i type my address in address bar it shows the error 403 Forbidden.you have no access to the server
Leave a reply