How to RESET/FLUSH/DELETE all iptables in Linux
Take backup Flush now Again to restore from backup
Take backup Flush now Again to restore from backup
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>
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>
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....
Open Command Prompt here, Open PowerShell here, Open Bash Shell here – (with Elevated privileges) save these in a .reg file and open to apply. 1. Open Command Prompt and PowerShell here – registry file ; Command Prompt [HKEY_CLASSES_ROOT\Directory\shell\01MenuCmd] “MUIVerb”=“Command Prompts” “Icon”=“cmd.exe” “ExtendedSubCommandsKey”=“Directory\ContextMenus\MenuCmd” [HKEY_CLASSES_ROOT\Directory\background\shell\01MenuCmd] “MUIVerb”=“Command Prompts” “Icon”=“cmd.exe” “ExtendedSubCommandsKey”=“Directory\ContextMenus\MenuCmd” [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\open] “MUIVerb”=“Command Prompt” “Icon”=“cmd.exe” [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\open\command] @=“cmd.exe /s /k pushd "%V"” [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\runas] “MUIVerb”=“Command Prompt Elevated” “Icon”=“cmd.exe” “HasLUAShield”="" [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\runas\command] @=“cmd.exe /s /k pushd "%V"”...