How to Install Zen Cart with Nginx on Debian 8

This step by step tutorial will show you how to install Zen Cart with Nginx on a Debian 8 VPS. Zen Cart is an open source PHP based shopping cart software. This tutorial was tested and written for a Debian 8 VPS, but it should work on any Debian based Linux distribution.

Make sure your package list and the OS packages are up to date by running the following commands:

Order an SSL certificate for your e-commerce website here. Save the SSL certificate and its private key to files named ‘file.crt’ and ‘private.key’ respectively and upload them to /etc/nginx directory.
Remove the default Nginx server block, create a new Nginx configuration file and add the following virtual block for your domain name:

Also, rename the ‘admin’ directory to a name less likely to be ‘guessed’ by someone probing your website for illegitimate access.

That is it. The Zan Cart installation is complete.
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Zen Cart with Nginx for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.