How to Install and Configure Apache Webserver to Host a Website from Your Computer
Go to www.apache.org and download the latest version of Apache's webserver. , Install Apache. , In the installation process you will get a screen asking you for your domain name, network name, and e-mail address., Once you click Next, you will see a...
Step-by-Step Guide
-
Step 1: Go to www.apache.org and download the latest version of Apache's webserver.
You can add anything in these fields.
Add them in this format:
Domain name: example.com Network name: www.example.com E-mail address: [email protected] , You can choose Apache from the radio button list. , "Edit you Apache.conf file"
,,,,,, 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. , Go to the conf subfolder. -
Step 2: Install Apache.
All original files backup is present in this folder.
Open original folder. ,,,, out of original folder. and open httpd.conf. ,,,, -
Step 3: In the installation process you will get a screen asking you for your domain name
-
Step 4: network name
-
Step 5: and e-mail address.
-
Step 6: Once you click Next
-
Step 7: you will see a screen asking you what webserver this is.
-
Step 8: You will get an error message after telling you "Apache could not be configured."
-
Step 9: Next go to Start-Programs-Apache HTTP server <version number>
-
Step 10: Choose "Configure Apache Server".
-
Step 11: Choose "Edit the apache.conf configuration file".
-
Step 12: Go to Document Root "drive:/location"
-
Step 13: Change the document root to point to the location of your website folder in the notion noted above using / instead of \.
-
Step 14: Do the same for <Directory "drive:/location">
-
Step 15: To test your configuration Go to Apache in your taskbar and stop the service.
-
Step 16: If you mess up the httpd.conf file don't worry
-
Step 17: go to your main Apache folder.
-
Step 18: There you will find folder named "Original".
-
Step 19: Choose httpd.conf from original folder.
-
Step 20: Go to Edit-Select All
-
Step 21: Choose Copy
-
Step 22: Then go back to your current httpd.conf i.e.
-
Step 23: Choose Edit-Select All
-
Step 24: Press Delete
-
Step 25: Click and paste the original text
-
Step 26: Press CTRL + S or press SAVE.
Detailed Guide
You can add anything in these fields.
Add them in this format:
Domain name: example.com Network name: www.example.com E-mail address: [email protected] , You can choose Apache from the radio button list. , "Edit you Apache.conf file"
,,,,,, 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. , Go to the conf subfolder.
All original files backup is present in this folder.
Open original folder. ,,,, out of original folder. and open httpd.conf. ,,,,
About the Author
Timothy Fisher
Experienced content creator specializing in creative arts guides and tutorials.
Rate This Guide
How helpful was this guide? Click to rate: