ALL >> Computers >> View Article
Apache Webserver - A Quick Tutorial For New Admins

Apache is one of the most commonly used web servers out there. If you are running your own cPanel server your websites will actually run on Apache. If you're new to administering a web server or just want to learn to keep your managed server under control without yelling for support each and every time it is useful to know some basic Linux commands for Apache. Unless specified otherwise - all commands listed need to be executed from the command line on your server.
How to start, stop or restart Apache (commands need to be executed from the command line)?
Restart: "/etc/rc.d/init.d/apachectl restart"
Stop: "/etc/rc.d/init.d/apachectl stop"
Start: "/etc/rc.d/init.d/apachectl start"
Where is the Apache httpd.conf file located?
"/etc/httpd/conf/httpd.conf"
How many Apache processes are running on your server at any given time?
"ps auwx |grep httpd |wc -l"
Where is the Apache error log located on the server?
"/var/log/httpd/error_log"
Where is the Apache status log file located on the server?
"/var/log/httpd/access_log"
HTTP Codes
200 = Successful Request
304 = Successful request, but the web page requested hasn't been modified ...
... since the current version in the remote web browser's cache.
401 = Unauthorized access. Someone entered an incorrect username / password on a password protected page
403 = Forbidden. File permissions prevents Apache from reading the file.
404 = Page Not found. The page requested doesn't exist.
500 = Internal Server Error
This article can be published by anyone as long as a live back link to http://www.webhostingresourcekit.com is provided. (this note can be removed as long as a link from the author's resource box is provided)
About The Author
Christoph Puetz is a successful small business owner (Net Services USA LLC) and international author.
Guides, Tutorials, and Articles for small businesses - http://www.webhostingresourcekit.com
Add Comment
Computers Articles
1. Find Your Perfect Device At The Best Acer Store Near Me – Explore Acer Aspire In ChennaiAuthor: Prachi Grey
2. Case Study: Enhance Customer Satisfaction Using Deliveroo Food Delivery Scraping
Author: Food Data Scrape
3. Custom Wordpress Plugin Development: Why It’s Essential For A High-performance Website
Author: Egrove Systems
4. How To Create An Email Marketing Plan That Works?
Author: goodcoders
5. How To Create An E-learning Platform Like Udemy And Coursera?
Author: goodcoders
6. Build A Strong Online Presence With Wordpress: Celebrate The Content With A Professional Wordpress Website Development Agency
Author: Egrove Systems
7. Top Features To Look For In An Invoice Management Tool In 2025
Author: sneha
8. Boost Accuracy And Efficiency With Sales Order Management Tools
Author: vishva
9. Real Time Cricket Score Trends Via Crex Data Scraping
Author: Retail Scrapes
10. Unlocking Digital Excellence: The Value Of Professional Wordpress Developer Services
Author: Egrove Systems
11. The 7 Most Important Seo Tips For Higher Rankings
Author: Akshay Sharma
12. Effortless Ordering: How Cloud-based Purchase Order Solutions Streamline Procurement
Author: sneha
13. Why Wordpress Remains The Top Choice For Website Development In 2025
Author: Egrove Systems
14. Making Ai Chatbots Simple For Everyone
Author: davidbeckam
15. Scraping Mcdonalds Menu Prices And Items Data
Author: Food Data Scrape