how to stop a web server linux

Shell
# how to stop a web server linux
sudo service apache2 stop
Source

Also in Shell: