Using Cloudflare
The application is running in the DigitalOcean Droplet but is accessible only by IP address and port. So, we need to do a proper domain setup and add an SSL certificate to the application. Acquiring a domain has a financial cost associated with it. Depending on the domain register, this cost may vary, and some domains are more expensive than others. SSL, together with Transport Layer Security (TLS), acts as a mechanism that we can add to our web project that will allow encryption between the clients and the server. In plain English, this will be the difference between accessing your website using http: //myproject. com or https: //myproject. com.
Many browsers today will prevent access to websites that are not using https://
. We can use Cloudflare to enable both (http
and https
) and it is free for the basic features, so these are the steps to follow:
- Add a new domain in Cloudflare: https://www.youtube.com/watch?v=7hY3gp_-9EU.
- Add a new DNS record in...