Skip to main content

How to Upgrade Your RAM and SSD on Ubuntu: A Complete Guide 2025 - 2026 midway

LEMP with free SSL install on Ubuntu server

Sanjay Tech solutions


LEMP with free SSL install on Ubuntu server 

pre requirements.

LEMP stack UP and Runing


 you need to install

1. certbot
  add-apt-repository ppa:certbot/certbot
apt-get update
apt-get install python-certbot-nginx


NGINX CONFIG

site configuration

server {
    listen 80;
    listen [::]:80;
    root /var/www/html/sitedir;
    server_name yrsite.com www.yrsite.com;
}

  make dns record match with a www. record correct ip points 


test nginx configuration

$ sudo nginx -t

if successfull then goto next step  


reload nginx service 

$ sudo systemctl restart nginx 



Now Generating Certificate  

$ sudo certbot --nginx -d yrsite.com -d www.yrsite.com


little explain command 


--nginx  certbot module that configuration with nginx 

if your site block match with same name then certbot add certificate key into your server block 

-d  domain name

- d you can add more sub domain here same domain with DNS Point same host.

  

$ sudo certbot --nginx -d yrsite.com -d www.yrsite.com -d subdomain.yrsite.com


Comments

Popular posts from this blog

Fixing PHP 8.2 zip Extension Error on Ubuntu 25 for Laravel 10,11,12 Shopify Apps

Tech Easy Solutions           Solution : How to Fix PHP 8.2 zip Extension Error on Ubuntu 25 Since Ubuntu 25’s PPAs don’t yet support this extension directly, there are three approaches to fix this: server  / local Ubuntu   Compile the Zip Extension from Source (Recommended) Install development packages: $ sudo apt-get install php8.2-dev libzip-dev build-essential unzip Install the zip extension via PECL:  $ sudo pecl install zip Enable the extension:  $ echo "extension=zip.so" | sudo tee /etc/php/8.2/cli/conf.d/20-zip.ini $ echo "extension=zip.so" | sudo tee /etc/php/8.2/fpm/conf.d/20-zip.ini Restart PHP services : $ sudo systemctl restart php8.2-fpm Verify $ :  php -m | grep zip ____________________________________________________ Result :  Error tracer : Why This Error Happens When running a Laravel 12 Shopify project on Ubuntu 25, you might see an error like: php8 .2 - zip : Depends: libzip4t64 (>= 1....

Shopify fully custom contact section block on home page

Tech Easy Solutions Shopify fully custom contact section block on home page <section class="contact-information" >       <!--<div class="left-shape">         <img src="images/left-shape.png" class="img-fluid">       </div>-->       <div class="container c-container">         <div class="row">           <div class="col-lg-6 col-md-6 col-sm-12 col-12">             <div class=" contact-us">                         {% form 'contact' %}                       {% if form.posted_successfully? %}                        <center> <p class="note form-success">                   ...

how to activate jio sim in lenovo a6000 plus

after buy jio sim  how to use jio  sim in  Lenovo a6000 plus Lenovo  A6000 plus user you insert jio sim in SIM slot 1 ( slot 1 in LTE) mobile system step 2 : goto mobile setting step 3 : goto mobile data turn on your  :  Data romaing CHECKED DATA ROMING then choose : Preferred network type  : LTE/WCDMA/GSM/AUTO install  "  jio4gvoice "  app in your mobile this app work on jio mobile data " so do not off jio mobile data " now can use jio call ,sms and data