eHow launches Android app: Get the best of eHow on the go.

How To

How to Make My Own Web Server

Contributor
By Lucinda Watrous
eHow Contributing Writer
(1 Ratings)

If you want to avoid costs of hosting your files for use on the Internet, you can make your own web server to handle hosting your files. You need a decent computer with plenty of storage space, RAM, and something that can always be connected to the Internet. When your server is not on the Internet, none of the files on your server will be on the Internet. Follow these steps to turn your computer into your web server.

Difficulty: Moderate
Instructions

Things You'll Need:

  • Computer with at least 1ghz processor and 1GB ram, and plenty of HD space
  • Router
  • High-speed Internet service
  • Domain name

    How to Make My Own Web Server

  1. Step 1

    If you don't have a high-speed Internet connection, secure one with a local provider in your area.

  2. Step 2

    Secure your own domain name. This will help people get to and from your files on the Internet. This will also give you a place to send and receive email. If you do not have a static web address (if you have cable or DSL connection, you probably will not have a static address) there are several places you can go to secure your domain. Check the resources section.

  3. Step 3

    Get your router. Use a regular router, because wireless routers are not suggested for home server set-ups. Your router should have Ethernet jacks and should be capable of port forwarding in order to allow outside Internet traffic.

  4. Step 4

    Set up your computer. Make sure that you have your standard computer items including a keyboard, mouse, and a 10/100 Ethernet Network Card. Make sure to have an uninterrupted power supply to keep your system safe in the event of a power outage.

  5. Step 5

    To configure your web server, you should start system-config services. Make sure that httpd and mysqld are started and selected to start on boot, then save the service configuration.

  6. Step 6

    Verify that your web server is working correctly by opening a browser and pointing it at http://localhost/ (which always points to the web server on your computer). You should see the test page for apache, the web server application.

  7. Step 7

    Set up port forwarding as directed by your router. Make sure that all http services or port 80 traffic is sent to the IP address of your web server.

Tips & Warnings
  • Anything that is going to be available online should be stored in /var/www/html directory on your server computer.
Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics