Whois – How to tell what hosting company a website is using

https://who.is/whois/typeyourdomainnamehere.com

Posted in Server tips. No Comments »

Apache fasstcgi mods

I run suExec so each account will run as the owner of the account.

Fastcgi mods added to the Apache post_virtualhost_global.conf (WHM>Service Configuration>Apache Configuration>Post VirtualHost Include>All Versions)

<IfModule fcgid_module>
FcgidMaxRequestLen 52428800
</IfModule>

<IfModule mod_fcgid.c>
FcgidMaxProcesses 150
FcgidMaxProcessesPerClass 100
FcgidIOTimeout 300
FcgidMinProcessesPerClass 1
FcgidIdleTimeout 300
FcgidIdleScanInterval 120
FcgidBusyTimeout 300
FcgidBusyScanInterval 120
FcgidErrorScanInterval 10
FcgidZombieScanInterval 3
FcgidProcessLifeTime 3600
</IfModule>

Android battery calibration trick keycode

Hi, I had the same problem after 4.3 update. I did not want to do a factory, and going from a lot of posts this does not work anyway. I also didn’t want to turn off a lot of processes I previously had running. I just wanted the same level of performance as before. After doing a little research I have come believe it is a battery calibration issue. This worked for me. Charge your phone to 100%, goto keypad, type in *#0228#. This will take you to a battery status screen. Press quick start at the bottom of the screen. Your screen will go blank for a few seconds. Press the home key. Your battery percentage should have dropped. Charge to 100% and repeat the process. After a few times the drop should be negligible. Allow the battery to completely discharge and repeat. Hope this helps. Good luck.

Fix Heartbleed bug by quick update for openSSL on apache

yum update openssl* -y
This will update openSSL to the newest version for apache on CentOS

To check your server to see if it’s vulnerable to the Heartbleed bug: https://www.ssllabs.com/ssltest/

Locked out of my own firewall

CSF is the first culprit if you are locked out of your own server firewall after too many failed login attempts from a certain IP.

The block was in your firewall, not cpHulk.
The IP was listed in /etc/csf/csf.deny and /var/lib/csf/csf.tempip and /var/lib/csf/csf.tempban
You can whitelist the IP in your firewall by placing the IP in /etc/csf/csf.conf, then running csf -r

Next you can place your external IP in the whitelist of cPHulk:

WHM > Security Center > cPHulk brute force protection > White/Black list > Quick Add your current external IP to: White List (Trusted IP List)

To find your external IP:

http://cmyip.com

Easy update Ioncube loader

For Apache server running CentOs:

yum update ioncube
ioncube -v
php -v
/scripts/phpextensionmgr install IonCubeLoader
php -v

OS X flush dns

sudo killall -HUP mDNSResponder this works for OS X Mountain Lion or Lion

Posted in OS X tips. No Comments »

SMTP Reverse DNS Mismatch Warning – Reverse DNS does not match SMTP Banner

This alert on an SMTP check on Mxtoolbox is trivial.

It could be because your outbound (sending) mail server is blocking un-authenticated port 25 use by spammers. Instead you can authenticate (login) on port 487 to send email.

This from Mxtoolbox:

“Also, the banner mismatch is just a warning. There’s nothing that says that having a mismatch (or no hostnme in your banner at all) will cause you to have difficulty sending or receiving mail, it’s really more of a best practice.”

If you cannot login with SFTP or SSH but can login with FTP and WHM and Cpanel

This is likely that you need to restart the SSH service. SFTP uses SSH not FTP.

“I just had to restart the SSH service from WHM

Sometimes, SSH will crash

If it does, just login to WHM and restart SSH”

Enable GD support in PHP

In default cPanel/WHM installation GD support in PHP is disabled. You can enable using the following simple steps:
1. Login to WHM as root;
2. Go to WHM >> Main >> Software >> Apache Update
3. Click on the “Load Previous Config” button (if exists);
4. Select “GD” option and any other PHP option you may need;
5. Uncheck the “Skip Apache Build if up to date” option;
6. Click “Start build” button at the bottom of the screen and wait 15-30 minutes.