Posts

Showing posts with the label Hosting

Securing Nginx with Let's Encrypt on Ubuntu 18.04

Image
  Introduction Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free  TLS/SSL certificates , thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps. Currently, the entire process of obtaining and installing a certificate is fully automated on both Apache and Nginx. In this tutorial, you will use Certbot to obtain a free SSL certificate for Nginx on Ubuntu 18.04 and set up your certificate to renew automatically. This tutorial will use a separate Nginx server block file instead of the default file.  We recommend  creating new Nginx server block files for each domain because it helps to avoid common mistakes and maintains the default files as a fallback configuration. Prerequisites To follow this tutorial, you will need: One Ubuntu 18.04 server set up by following this  initial server setup for ...

Deploy Django app on a shared host

Image
This post is about deploying a Django application on Linux shared hosting using Cpanel. I will be guiding you step by step in the process of deploying a new or an existing Django app on shared hosting. Table of Contents Why Shared Hosting? Check if your hosting is compatible Deploy a Django App Deploy in 5 minutes Frequently Asked Questions Useful Links Why Shared Hosting? When it comes to deploying Django applications, you have many options available. Deploying on shared hosting might not be the best option overall but it surely has some advantages. The most prominent advantage is cost. Popular options like pythonanywhere or heroku 5$ to 7$ a month on the basic plan which could limit the RAM usage at 512MB and disk usage at 1GB. However, you can get a shared hosting which gives you 1 GB RAM and 20GB SSD for as less as  1.44$ a month . In addition to this, if you already have a website on shared hosting, you do not need to spend anything at all. Check ...