The French Guy

So your server is bombarded by spammer, and you really want to block them at the server side instead of per domain. Here is what I did, and it works for me. If you read this and it worked for you, or used this solution but tweaked it, please comment. Thank you !   Go to WHM / Service configuration / Exim Configuration Manager / Advanced Editor Scroll down to the big blue button “Add additional configuration settings”. In BOX1, enter: […]

CPANEL redirect feature redirects both HTTP and HTTPS. Therefore, if you try to redirect http to https , you will create a loop. This is what CPANEL Redirect adds: RewriteCond %{HTTP_HOST} ^$ RewriteRule ^/?$ “https\:\/\/your\.domain\.com\/” [R=301,L] Edit the .htaccess of the subdomain you created for owncloud, and add at the end: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} “%{HTTPS} off” is saying if the connection is insecure, send it to https.

If you try to connect to an EXIM server with a certified certificate in order to send an email, you might get an error like this one: Sending of the message failed The message could not bt sent because the connection to the outgoing server timed out. A quick work around is to change the server connection type from 465 SSL/TLS to 587 STARTTLS   It sounds crazy, but it fixes the issue.

Problem: You are using CPANEL with a third party slave DNS, and you see in your /var/log/message that external zone transfer are denied. Oct 19 13:05:08 your_server_name named[18147]: client slave_DNS_IP#59149 (your_web_site): view external: zone transfer ‘your_web_site/AXFR/IN’ denied Solution: Edit /etc/named.conf, and replace allow-transfer    { “NONE”; }; with allow-transfer    { slave_DNS_IP; }; Then reboot your DNS server with service named restart and you should be ready to go !