Apache Http Server Installation - LeandroTheDev/arch_linux GitHub Wiki

Downloading

  • sudo pacman -S apache

Configuration File

  • sudo vim /etc/httpd/conf/httpd.conf

Default http

  • /srv/http
  • use index.html for creating a page for it

Ports

  • also open the ports in your router: default 80

Start

  • sudo systemctl enable --now httpd