PCSTATS Main Page Follow PCSTATS on Facebook PCSTATS RSS Feed PCSTATS Twitter Feed + Motherboards
+ Videocards
+ Memory
+ Beginners Guides
News & Advanced Search  Feedback?
[X]   Directory of
Guides & Reviews

Beginners Guides
Weekly Newsletter
Archived Newsletters

+70 MORE Beginner GUIDES....  
 
Contact the Suite 66 Advertising Agency
Seagate Backup Plus Slim External USB 3.0 2TB Hard Drive Review

Beginners Guides: Website Hosting With Apache

Beginners Guides: Website Hosting With Apache - PCSTATS
Abstract: Apache has been around since 1995 and is the main alternative to Microsoft's Internet Information Server (IIS) web hosting technology.
Filed under: Beginners Guides Published:  Author: 
External Mfg. Website: PCSTATS Apr 11 2006   Mike Dowler  
Home > Reviews > Beginners Guides > PCSTATS

Domain and Server Name

If Apache was installed before a domain name was registered, or the name of the domain or server has been changed, we need to make some adjustments. These changes can be made in Apache HTTP server by editing the httpd.doc file. Find the 'servername' entry in the file and change it to the appropriate value.

Creating a simple website to test Apache

While this Beginners Guide will not deal with creating or editing web sites or HTML files for use with Apache, we are going to cover how to create a basic (very basic) HTML file to serve as your 'home page' for testing Apache. All we are going to do is fire up a word processor, type a few lines, then save the resulting document as an HTML file, something most word processors can do easily. While the resulting file will not do (obviously) for creating complex websites, it does just fine as a tester to make sure everything is working fine with the web server.

Open Word or another fairly recent word processing program (WordPerfect, OpenOffice, and even Notepad will do just fine). Create a new document and type "Apache home page test" or something similar in the document. Now go to the 'file' menu and select 'save as.'

In the save as window, select the 'file type' dropdown box. Change it to 'web page' (for Microsoft Word users) or 'HTML document' (for users of OpenOffice). Save the file as 'index.html' in the following location: 'c:\program files\apache group\apache2\htdocs'. This will ensure that it is the first HTML document that the Apache server attempts to open when a web page is requested. You will have to move or delete the other files in the 'htdocs' directory first though. They are the files for the default 'welcome' page and can be safely removed.

This index.html file is a very simple webpage, which means that anyone who attempts to access the website you've just configured in Apache will be greeted by it.

Now that you know how to host a basic website with Apache, you can dig deeper into the documentation yourself.

Apache is available on Linux platforms as well as Windows (and indeed it originated there), so learning the basics of the program in Windows will serve well if you ever decide to experiment with alternative operating systems since the interface is essentially the same.

If you have any comments or questions, please post them in the PCSTATS Forums. Find out about this and many other reviews by joining the Weekly PCstats.com Newsletter today! Catch all of PCSTATS latest hardware reviews right here.

-RSS Feed Setup & Subscriptions
- Windows XP Service Pack 2
- Firewall Setup and Configuration
-Eliminating Spyware and Hijacker Software
- Diagnosing Bad Memory
- 101 Tips and Tweaks for WindowsXP
- Burning CDs and DVDs
- Optical Drives & Recording Formats
- Securing Your Wireless Network
- Little Known Features of WindowsXP
- Ergonomics & Computers
- Annual PC Checkup
- Installing WindowsXP
- Encryption and Online Privacy
- Home Networking and File Sharing
- Forgotten Passwords & Recovery Methods
- Preventing Data Theft from a Stolen Laptop
- Creating a Weblog / Blog
- Installing RAID on Desktop PCs
- RAM, Memory and Upgrading
- Ten Steps to a Secure PC
- Flashing A Motherboard BIOS
- Windows XP Safe Mode Explained
- Upgrading Win98 to Windows XP
- USB Memory Drive Projects
- 104 Great Tech Tips for Windows XP
- Unattended Windows 2000/XP Installations
- Linux Part 2: Installing a PC
- Understanding and Tweaking WindowsXP Services
- Linux Part 3: Installing New Software
- The Registry: Backups, Repairs, and Protection
- Diagnosing Bad Hard Drives
- Decrypting Document & Zipped File Passwords
- Spyware protection and Removal
- Wireless home networking
- Internet Connection Sharing
- Remote Access to Computers
- Hard Drive Data Recovery
- Firewalls and Internet Security
- Back up and Restore Data in WinXP
- Assembling Your Own PC
- VPNs and Internet Connection Security
- Legally Copying Software and Music
- Setting up a FTP Server in WinXP
- Creating MP3 Music Files
- Stopping Spam
- Cloning WindowsXP
- Browser Hijacking and How to Stop It
- Printer Sharing on a Home Network
- Converting Videotape Into Video Files
- Creating a WindowsXP Install CD with Service Pack 2
- Creating a Flashing a Video Card BIOS
- Making DVD Movies from Video Files
- Synchronizing Files and Folders
- Crash Recovery and the Blue Screen of Death
- Most Common Ways to Kill a PC
- WindowsXP Command Prompt
- Linux Part 1: Getting Familiar
- Understanding and Creating Batch Files
- Website Hosting From A Home PC
- Formatting and Partitioning a Hard Drive

< Previous Page © 2017 PCSTATS.com
Please respect the time and effort that went into creating each PCSTATS Beginners Guide, do not illegally copy. Thank you.
Beginners Guides News»

 

Contents of Article: PCSTATS
 Pg 1.  Beginners Guides: Website Hosting With Apache
 Pg 2.  Can anyone host a website?
 Pg 3.  A Networks' Default Gateway
 Pg 4.  Acquiring a DNS Domain Name (URL) for a Website
 Pg 5.  Configuring firewalls for website hosting
 Pg 6.  Creating a Virtual Server
 Pg 7.  Part 2: Installing and using Apache Web server
 Pg 8.  Apache Status and Services
 Pg 9.  Basic Apache configuration
 Pg 10.  — Domain and Server Name

SEARCH PCSTATS 
Use the power of Google to search all of PCSTATS and the PCSTATS Forums. Tell us what you think of this new feature - FEEDBACK?
   11 / 22 / 2017 | 11:53AM
Hardware Sections 


google
 
PCSTATS Network Features Information About Us Contact
FrostyTech
TransmetaZone
BeginnersPC
PCSTATS Newsletter
PCSTATS Forums
ShoppingList Assistance
Tech Glossary
Technology WebSite Listings
PermaLink News
Archived News
Submit News (Review RSS Feed)
Site Map
PCstats Wallpaper
About Us
Employment
Privacy Policy
Advertise on PCSTATS

How's Our Driving?
© Copyright 1999-2017 www.pcstats.com All rights reserved. Privacy policy and Terms of Use.