You may have a an occassional need to setup a transient webserver (without installing any additional packages).
This is really easy with Python.
Simply change to the directory from which you want to serve content, and run the following:
python -m SimpleHTTPServer 80
Be mindful that only privileged users can bind to privileged ports.
python3 -m http.server [port]
In case you prefer python 3 or want to avoid the shift key.