April 23, 2024, 8:34 a.m. | Sotiris Kourouklis

DEV Community dev.to

Let's Encrypt and Nginx are among the most popular technologies for deploying your app on a server. Today, we'll learn how to set up Nginx and a free SSL with Certbot on your Ubuntu server.





Prerequisites


To make sure your Nginx works, you need to set up your DNS records properly:




  • Create an A record pointing to your server's public IP address:


    Record Type: AName: @Content: YOUR_SERVER_IP




  • For subdomains, create an A record like this:


    Record Type: AName: your_subdomainContent: YOUR_SERVER_IP …

app encrypt free guide learn let's encrypt nginx popular server ssl technologies today ubuntu

Senior Security Specialist, Forsah Technical and Vocational Education and Training (Forsah TVET) (NEW)

@ IREX | Ramallah, West Bank, Palestinian National Authority

Consultant(e) Junior Cybersécurité

@ Sia Partners | Paris, France

Senior Network Security Engineer

@ NielsenIQ | Mexico City, Mexico

Senior Consultant, Payment Intelligence

@ Visa | Washington, DC, United States

Corporate Counsel, Compliance

@ Okta | San Francisco, CA; Bellevue, WA; Chicago, IL; New York City; Washington, DC; Austin, TX

Security Operations Engineer

@ Samsara | Remote - US