← ServerPilot Docs

How to Restart Services

If you have customized Nginx, Apache, or PHP on your server, you will have to restart that service before it will function properly.

You can restart your services by SSHing in to your server as root and running this command:

sudo service SERVICENAME restart

The service names are nginx-sp, apache-sp, and phpX.Y-fpm-sp, where X.Y is the PHP version.

Launch your first site in 5 minutes