Apache is one of the two most widespread web servers (alongside
nginx). A full overview of the architecture (MPM, modules, the config
hierarchy, TLS, .htaccess) is in apache-httpd. Here is the
practice: you start apache2 and bring up two virtual hosts on one
port, switched by the HTTP Host: header. This is how any shared
hosting and most reverse proxies are built.
The sandbox runs on port 8080 (not 80, since a privileged port is not needed).