Changing default SSH port can be one of the steps to improve security in Linux servers. By changing SSH port to something other than port 22 and using a proper firewall you may have a good result on minimizing brute-force attacks to SSH. To change SSH listening port you are required to edit /etc/ssh/sshd_config file.… Continue reading Change SSH Port
Category: Technology
Completely disable email on single cPanel Account
A week ago one of our clients account been compromised and the attacker used the server to blast emails. as a system administrator my task was to prevent any outgoing email from the account before I start to investigate the attack and remove any kind of scripts from the hosting account. Studying cPanel files made… Continue reading Completely disable email on single cPanel Account
Send mail test from SSH on cPanel server
To check whether the mail server is working properly in a cPanel server which is running Exim mail server from SSH you can use sendmail script which is located in /usr/lib/sendmail. run the command following with –v emailaddress switch! for example: /usr/lib/sendmail –v [email protected] [email protected] is the recepient email here! once you press enter the… Continue reading Send mail test from SSH on cPanel server
Flush Windows DNS Cache
It always sucks when a client claims his website is not working fine and you have to pay the failure of the ISP. so in this case the first thing I’ve to ask them is to flush their DNS cache! to Flush DNS cache in Windows based systems Open CMD then type “ipconfig /flushdns” and… Continue reading Flush Windows DNS Cache
503 Service Temporarily Unavailable Fastcgi in Cpanel
Just now I was configuring one server and since the first thing I do is to rebuild apache and install fast-cgi I went through this process. But this server was acting not normal! the websites wouldn’t work when the php handler was set on fcgi! but they were working fine at DSO. I was getting… Continue reading 503 Service Temporarily Unavailable Fastcgi in Cpanel