Category Archives: ServerPilot

Force NGNIX www to non-www or redirect https:// traffic

Here is an example how to force no-www domain on Servepilot VPS servers with Nginx. Create /etc/nginx-sp/vhosts.d/servermeister.d/0www_redirect.conf with code that will force all www pages 301 redirect to a naked no-www domain. Code: if ($host ~* www.servermeister.com$) { return 301 http://www.servermeister.nl$request_uri; } restart nginx with the command Code: sudo service nginx-sp restart If you would […]

How to Change the PHP Memory Limit

You can change the amount of memory PHP allots to each request by using a.user.ini file. Using .user.ini does not change the WordPress memory limit. C First, create a file named .user.ini in your app’s web root directory. apps/APPNAME/public/.user.ini Change the Memory Limit Then, enter the following line with the new value for your app’s […]

How to Install WordPress MultiSite

WordPress Multisite uses one WordPress installation and one database across a network of WordPress sites. Using WordPress Multisite adds a large amount of complexity and incompatibilities with plugins. Read this article to determine if Multisite is right for you. Unless you’re a WordPress expert and you’re certain you need Multisite, don’t use it! Installing Multisite […]

How to install PrestaShop

PrestaShop’s open-source ecommerce platform allows you to create powerful web stores through an easy-to-use interface. You can install PrestaShop on your server with DigitalOcean, Rackspace, or Linode using SFTP after you have connected your server to ServerPilot. Creating an App in ServerPilot First, click + Create App in ServerPilot; this can be done immediately after […]