Friday, 14 November 2014

How to create your own web server in your home???

How to create your own web server in your home???
Ans...
But first note that... To creat web server u need a computer that will run 24/7... If not then the website will only ohen the server computer is on....
Now lets start the tutorial......
1) Get the Apache server software. Your old computer will be called your "Web Server" from now on. Download public license Apache HTTP Server to your old computer. This free software is also the most widely used server on the Internet...
2) Double click on the downloaded file to install it. Fill the dialogue required fields. It is quite arbitrary information and later you can change them.
3) Select the custom install from options in the next dialogue. Change the install directory of Apache to your desired folder.
4) Go to that directory and find "conf" folder. In that folder open the "httpd.conf" file. Now in your "Web Server" create a root directory for your web site; for example, "C:\Web\MyWeb"..
5) Inside the "httpd.conf", change the Apache default serving document root to your web root.
6) Also in the same file change the default Apache web directory to your own web directory.
7) Use a basic knowledge of writing HTML code and create a test page; write in it "I am a winner!" Save it as "C:\Web\MyWeb\index.html"..
8) Open your port 80 for forwarding as described in Open Your Port 80 Behind a Firewall..
9) Locate your site. Now in your "Web Server" open your favorite browser and type in the address bar, http://localhost/ Your winner page will be served by the Internet on your browser.
10) Get the IP of your home, (look in the Open Your Port 80 Behind a Firewall tips). That is the address of your broadband given by your Internet Service Provider, on the Internet. Ask a friend of yours to type it in his browser. Your site is open to public now.
If your IP number is, say, 98.227.112.49 then your friend types http://98.227.112.49/
11) This IP is subject to change and difficult to remember. It needs to be maintained dynamically, and pointed by a name like other sites, say [www.example.com] ....

No comments:

Post a Comment