Skip to main content

Posts

Showing posts from September, 2019

DNS record setting for email server

Tech Easy Solutions DKIM SPF DMARC DKIM Type Hostname Value TTL (seconds) TXT _dmarc.domain.com.domain.com returns v=DMARC1; rua=mailto:admin@domain.com; ruf=mailto:admin@domian.com; fo=0:1:d:sCopy 3600 SPF TXT mailserverdomain.com returns v=spf1 mx a ~all DKIM generate sudo apt-get install opendkim opendkim-tools sudo opendkim-genkey -s mail -d your-domain.com cat mail.txt mail._domainkey IN TXT ( "v=DKIM1; k=rsa; " "p=MIGfT") https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf

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 Po

LEMP stack 503 bad gateway nginx with 503

Sanjay Tech solutions LEMP Error resolved LEMP stack 503 bad gateway nginx with 503 that means your backed run environment  not working properly  if using php then php service not running  php version missing  php path wrong php not accepting request due to to many process pending