Yes. HTTPD.conf is read on apache start-up, so for any changes to take affect you need to restart it.

Answer from Codemwnci on Stack Overflow
🌐
nixCraft
cyberciti.biz › nixcraft › howto › apache › restart httpd server command
Restart Httpd Server Command - nixCraft
October 16, 2022 - How do I restart httpd service? You can use the service or systemctl command to restart httpd server. Another option is use /etc/init.d/httpd service script under Linux or Unix-like systems.
🌐
Medium
prakash-cloud.medium.com › start-stop-and-restart-apache-http-server-in-linux-895cfd15f949
Start / Stop and Restart Apache HTTP Server in Linux | by Prakash | Medium
September 17, 2024 - [root@apache1 ~]# systemctl start httpd [root@apache1 ~]# systemctl status httpd ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: active (running) since ...
People also ask

How do I make Apache start automatically after a reboot?
Run `sudo systemctl enable apache2` on Ubuntu/Debian or `sudo systemctl enable httpd` on RHEL-based systems. To confirm, run `sudo systemctl is-enabled apache2` — it should output `enabled`.
🌐
linuxize.com
linuxize.com › home › apache › how to start, stop, and restart apache on linux
How to Start, Stop, and Restart Apache on Linux | Linuxize
Where are the Apache log files?
On Ubuntu/Debian, logs are stored in `/var/log/apache2/` (`access.log` and `error.log`). On RHEL-based systems, logs are in `/var/log/httpd/`. Use `journalctl` to view systemd service logs: `sudo journalctl -u apache2`.
🌐
linuxize.com
linuxize.com › home › apache › how to start, stop, and restart apache on linux
How to Start, Stop, and Restart Apache on Linux | Linuxize
How do I check if Apache is running?
Run `sudo systemctl status apache2` on Ubuntu/Debian or `sudo systemctl status httpd` on RHEL-based systems. You can also run `curl -I http://localhost` to verify Apache is responding to HTTP requests.
🌐
linuxize.com
linuxize.com › home › apache › how to start, stop, and restart apache on linux
How to Start, Stop, and Restart Apache on Linux | Linuxize
🌐
Apache Software Foundation
httpd.apache.org › docs › 2.4 › stopping.html
Stopping and Restarting Apache HTTP Server - Apache HTTP Server Version 2.4
The second method of signaling the httpd processes is to use the -k command line options: stop, restart, graceful and graceful-stop, as described below.
🌐
nixCraft
cyberciti.biz › nixcraft › howto › apache › starting, stopping, and restarting apache 2 webserver command
Start / Stop and Restart Apache 2 Web Server Command - nixCraft
October 7, 2024 - # Start Apache 2 web server $ sudo /etc/init.d/apache2 start $ sudo service apache2 start # Restart Apache 2 web server $ sudo /etc/init.d/apache2 restart $ sudo service apache2 restart # Stop Apache 2 web server $ sudo /etc/init.d/apache2 stop ...
🌐
Linuxize
linuxize.com › home › apache › how to start, stop, and restart apache on linux
How to Start, Stop, and Restart Apache on Linux | Linuxize
March 3, 2026 - Use reload instead of restart when you only need to apply configuration changes on a production server with active clients. To check the current status of the Apache service, run: ... ● apache2.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enabled) Active: active (running) since Sun 2026-03-01 14:00:00 UTC; 2h ago Docs: https://httpd.apache.org/docs/2.4/ Main PID: 12346 (apache2) Tasks: 55 (limit: 4915) Memory: 12.4M CGroup: /system.slice/apache2.service ├─12346 /usr/sbin/apache2 -k start ├─12347 /usr/sbin/apache2 -k start └─12348 /usr/sbin/apache2 -k start
Find elsewhere
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to restart apache on centos and rocky linux
How to Restart Apache on CentOS and Rocky Linux
December 17, 2025 - There are two main ways to restart Apache on CentOS or Rocky Linux: using the systemctl command or the apachectl command. The following text elaborates on both. The systemctl command is a powerful utility for managing services on systemd-based ...
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux › 4 › html › reference_guide › s1-apache-startstop
10.4. Starting and Stopping httpd | Reference Guide | Red Hat Enterprise Linux | 4 | Red Hat Documentation
The httpd RPM installs the /etc/init.d/httpd script, which can be accessed using the /sbin/service command. ... The restart option is a shorthand way of stopping and then starting the Apache HTTP Server.
🌐
Cam
mirror.apps.cam.ac.uk › pub › doc › redhat › redhat8 › rhl-rg-en-8.0 › s1-apache-startstop.html
Starting and Stopping httpd
Instead, you can use the reload command. The reload command looks like the following example: By default, the httpd process will not start automatically when your machine boots. You will need to configure the httpd service to start up at boot time using an initscript utility, such as ...
🌐
Wsldp
elearning.wsldp.com › pcmagazine › restart-apache-on-centos-7
How to Restart Apache on CentOS 7 - e Learning
Two Commands can be used to Restart Apache HTTPD Server on CentOS 7 Linux. Those Two Commands are systemctl command and apachectl command. You Can use either of the Two commands to Restart Apache on CentOS 7. The systemctl command use to start, stop and restart services in CentOS 7.
🌐
Zebrahost
zebrahost.com › docs › centos › commands-to-starto-stop-restart-apache-server-on-centos
Commands to Start/Stop or Restart Apache Server on CentOS
May 19, 2021 - Commands to Start/Stop or Restart ... in CentOS · Resizing Disk in CentOS 7 · System Power Commands on CentOS · By: ZebraHost · Start: sytstemctl start httpd.service ·...
🌐
Liquid Web
liquidweb.com › home › help docs › server administration › linux server administration › restarting services from the command line in linux
Restarting Services from the Command Line in Linux | Liquid Web
December 16, 2025 - Restarting services usually requires ... sudo before the rest of the command). You might need to restart these services: ... Every time you make Apache configuration changes, you need to restart Apache. Apache’s service name is “httpd.” This is the name you’ll use to ...
🌐
TechRepublic
techrepublic.com › home › developer
How to Start, Stop, and Restart Services in Linux
November 8, 2024 - Run the command sudo systemctl restart httpd. The service will restart, and you’ll be returned to the bash prompt.
🌐
Medium
medium.com › @samunyi90 › start-stop-and-restart-apache-2-web-server-command-aa809dd0f769
Start / Stop and Restart Apache 2 Web Server Command | by Sam Munyi | Medium
February 17, 2023 - Use the service command: ## Start ## # service httpd start ## Stop ## # service httpd stop ## Restart ## # service httpd restart
🌐
Server Fault
serverfault.com › questions › 1088121 › systemctl-restart-httpd-failed-to-start-the-apache-http-server-httpd-pid-already
centos7 - systemctl restart httpd Failed to start The Apache HTTP Server httpd pid already running - Server Fault
December 23, 2021 - # kill 4461 # systemctl restart httpd;systemctl status httpd; ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2021-12-23 ...