Sunday, April 18, 2010

How to Install and Configure Apache Webserver to Host a Website from Your Computer

This article tells you how to download, install and configure Apache webserver on your Windows based computer to host a webpage.


1. Go to www.apache.org and download the latest version of Apache's webserver.

2. Install Apache.

3. In the installation process you will get a screen asking you for your domain name, network name, and e-mail address. You can add anything in these fields. Add them in this format:

* Domain name: example.com
* Network name: www.example.com
* E-mail address: user@example.com

4. Once you click Next, you will see a screen asking you what webserver this is. You can choose Apache from the radio button list.

5. You will get an error message after telling you "Apache could not be configured." "Edit you Apache.conf file"

6. Next go to Start-Programs-Apache HTTP server

7. Choose "Configure Apache Server".

8. Choose "Edit the apache.conf configuration file".

9. Go to DocumentRoot "drive:/location"

10. Change the documentroot to point to the location of your website folder in the notion noted above using / instead of \.

11. Do the same for

12. To test your configuration

* Go to Apache in your taskbar and stop the service.
* Restart the service.
* If it won't start, you need to modify your conf file properly.
* Once it successfully starts, go to your browser and type localhost or 127.0.0.1 in your address bar.

www.wikihow.com

No comments:

Post a Comment