Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
LiteCart

LiteCart

LiteCart is a lightweight e-commerce platform for online merchants, built in PHP, HTML 5, and CSS 3. Run a storefront without the overhead of a large framework. 230+ GitHub stars.

At a glance

236

GitHub stars

10

Page views

License CC-BY-ND-4.0 Version Latest OS Ubuntu 24.04 LTS Min RAM 1 GB IP IPV4

Access

  • Store URL: https://<SERVER_IP>
  • Admin URL: https://<SERVER_IP>/<ADMIN_FOLDER>/ (stored in /root/.cloudzy-creds)
  • A self-signed SSL certificate is configured. Your browser may show a certificate warning; proceed to access the site.
  • Login credentials are stored in: /root/.cloudzy-creds

Important Files & Directories

  • Site Directory: /var/www/litecart
  • LiteCart Configuration: /var/www/litecart/includes/config.inc.php
  • Apache Configuration: /etc/apache2/sites-available/litecart.conf
  • SSL Certificate: /etc/apache2/ssl/litecart.crt
  • SSL Private Key: /etc/apache2/ssl/litecart.key
  • Database Credentials: /root/.cloudzy-creds

Managing Apache

Check status:

systemctl status apache2

Restart Apache:

systemctl restart apache2

View Apache logs:

journalctl -u apache2 -f

Validate the configuration:

apache2ctl configtest

Enabling HTTPS with a Domain

1. Point your domain to the server IP.

2. Edit /etc/apache2/sites-available/litecart.conf and replace both ServerName <SERVER_IP> directives with your domain (e.g. ServerName yourdomain.com;).

3. Install Certbot:

apt install -y certbot python3-certbot-apache

4. Obtain a Let's Encrypt certificate:

certbot certonly --apache --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Edit /etc/apache2/sites-available/litecart.conf and replace the SSL certificate paths.

Before:
    SSLCertificateFile /etc/apache2/ssl/litecart.crt
    SSLCertificateKeyFile /etc/apache2/ssl/litecart.key
After:
    SSLCertificateFile /etc/letsencrypt/live/yourdomain.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/yourdomain.com/privkey.pem

6. Reload Apache to apply the changes:

systemctl reload apache2

7. Open your browser and visit: https://yourdomain.com

More in Self Hosted

Related apps.

Deploy LiteCart now. From $2.48/mo.