Find out What's Going On
March 31, 2015
By: Lucinda Watrous
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.
If you don't have a high-speed Internet connection, secure one with a local provider in your area.
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.
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.
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.
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.
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.
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.