Install Apache HTTP Server on Arch Linux
Step 1 – Install
pacman -Syu --noconfirm
pacman -S --noconfirm apache
systemctl enable --now httpd
Step 2 – Open firewall ports
ufw allow 80/tcp && ufw allow 443/tcp && ufw reload
Step 3 – Verify
curl -I http://localhost
apachectl -v
Main config: /etc/httpd/conf/httpd.conf, vhosts in /etc/httpd/conf/extra/.