How to use HiDPI(4K) resolution in Linux for all applications

HiDPI (High Dots Per Inch) displays, also known by Apple’s “Retina Display” marketing name, are screens with a high resolution in a relatively small format. They are mostly found in high-end laptops and monitors. update this ~/.Xresources Xft.dpi: 240 reboot or re-login to system

September 2, 2019 · 1 min · 44 words · Akhil Jalagam

How to RESET/FLUSH/DELETE all iptables in Linux

Take backup Flush now Again to restore from backup

September 2, 2019 · 1 min · 9 words · Akhil Jalagam

How to set up Reverse Proxy in Apache/httpd

Install and enable apache2 proxy modules proxies all requests (“/”) to a single backend: to point to the reverse proxy, instead of back to itself, the ProxyPassReverse directive is most often required: Only specific URIs can be proxied Example ServerName example.net Documentroot /var/www/html/ ProxyPass “/” “http://www.example.com/" ProxyPassReverse “/” “http://www.example.com/" </VirtualHost>

September 2, 2019 · 1 min · 50 words · Akhil Jalagam

How To Redirect www to non-www OR non-www to www with Apache

1. Configure DNS Records In order to set up the desired redirect, www.example.com to example.com or vice versa, you must have an A record for each name. 2. Enable the mod_rewrite module 3.1 Update site.conf or .htaccess file ( www to non-www) 3.2 Update site.conf or .htaccess file ( non-www to www) Example ServerName example.net Documentroot /var/www/html/ RewriteEngine on RewriteCond %{HTTP_HOST} ^www.yoursite.com RewriteRule (.*) http://yoursite.com/$1 [R=301,L] </VirtualHost>

August 31, 2019 · 1 min · 67 words · Akhil Jalagam

How to set up an SPF record for your domain?

What are the SPF records? A Sender Policy Framework (SPF) record is a type of Domain Name Service (DNS) TXT record that identifies which mail servers are permitted to send an email on behalf of your domain. The purpose of an SPF record is to detect and prevent spammers from sending messages with forged From addresses on your domain. Overview Sender Policy Framework (SPF) is a method of fighting spam. As more time passes, this protocol will be used as one of the standard methods of fighting spam on the Internet....

August 31, 2019 · 2 min · 283 words · Akhil Jalagam