restart Apache/Nginx service Ubuntu

# IMPORTANT: Choose or add a the line below with web server's restart command
# CentOS: apache
# sudo systemctl restart httpd.service

# Ubuntu: apache
# sudo systemctl restart apache2

# Ubuntu: nginx
# sudo systemctl restart nginx

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installing cURL for Ubuntu

To install cURL by using the apt-get install command, perform the following steps: Enter the...