ubuntu stop nginx and start apache code example Example: ubuntn nginx restart sudo service nginx restart