Setting Up a Web Server

Save

If you're interested to set up a web server to host your personal website or even share your music online, it's possible to set up a web server using your home PC. While setting up a web server can be challenging, it is possible as long as you know what you're doing.

Things You'll Need

  • Broadband Internet connection
  • PC running Windows
  • Apache web server software
  • Standards-compliant web browser
  • Text editor
  • Install the Apache web server software. Follow the installation wizard to complete the automated process.

  • Test the web server software by typing \"http://localhost\" (without quotation marks) in your web browser. You should see the Apache web server test page. This means you've successfully installed web server capabilities on your computer.

  • Open the web server configuration file using the text editor. The configuration file is stored in C:\Program Files\Apache Group\Apache2\conf\httpd.conf.

  • Search for \"#DocumentRoot \"C:/Program Files/Apache Group/Apache2/htdocs\"\" in the configuration file. Under it, enter the following text: DocumentRoot \"LOCATION HERE\". Replace the capital text with the folder that you would like to share on the server, such as C:/User/My Documents.

  • Search for \"#<Directory \"C:/Program Files/Apache Group/Apache2/htdocs\">\" in the configuration file. Under it, enter the following text: <Directory \"LOCATION HERE\"> Change the capital text to the shared folder you entered in Step 4.

  • Search for \"AllowOverride None\" and change to \"AllowOverride All.\" Close and save the file.

  • Test your web server by navigating to the server host. You should now be able to access the folder you set to share in the configuration file. Your web server is now set up on your computer.

Tips & Warnings

  • Do not publicly share folders that contain music or other copyrighted material.
Promoted By Zergnet

Comments

You May Also Like

  • How to Share My Documents

    With all versions of the Windows XP and Vista operating systems, a default folder to contain user documents named My Documents (XP)...

  • How to Set Up a Home Server

    Setting up a home server computer means creating a network between two or more computers, using one as a primary storage locale...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!