[Quick Guide] How to check if Apache is running (2024)

Need to know whether Apache is running? This guide will show you how to check in just a few seconds.

BitLaunch

1 min read

[Quick Guide] How to check if Apache is running (3)

Apache is one of the world's most popular web servers, but though it's easy to install and configure, some confusion can arise when trying to figure out how to check if Apache is still running.

This quick guide will shine a light on the process on Ubuntu, CentOS, and Windows.

Check if Apache is running on Ubuntu/Debian

There's an easy, foolproof way to check whether Apache is active on Ubuntu: systemctl. Just run this command:

sudo systemctl status apache2

This should also work on CentOS, despite it being Red Hat-based.

Check if Apache is running on RHEL/Fedora

On some versions of RedHat-based systems, you can still use systemctl to check the status of Apache, but you need to query httpd instead:

sudo systemctl status httpd

Check if Apache is running on Windows

On Windows, you can use Task Manager to see if the Apache process is active. After pressing Ctrl + Shift + Esc, start typing either "httpd.exe" or "apache.exe" and see if they appear on the list.

[Quick Guide] How to check if Apache is running (4)

If they do, then Apache is running.

If you're still unsure, you can check the IP address of the server on port 80 in your local browser:

http://your.server.ip:80
[Quick Guide] How to check if Apache is running (2024)
Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 5906

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.