Enable alternate SMTP port in MailEnable
By default MailEnable listens on port 25. Sometime ISP’s block port 25 and your clients are not able to send emails. Then you may need to add SMTP service listen on some other port too. Follow the below steps to to enable alternate smtp port in MailEnable. RDP to server Open MailEnable Administrator Now go […]
Change RDP Port on Windows
First of all make sure that you open the port is firewall first. Else you will end up getting yourself blocked. To change the RDP port you need to make some changed in registry. Start >> Run >> type “regedit” without quotes and hit enter >> it will open windows registry editor. Now locate the […]
Magento 503: Service Temporarily Unavailable
Sometimes Magento shows service temporarily unavailable error after some upgrade or plugin installation etc. You see this warning because the store went to maintenance mode by creating maintenance.flag file in the sites root folder. Solution: The solution is to delete the maintenance.flag file from the root folder and it’s all done. Your store will start […]
plesk migration error
Today I was migrating accounts from plesk to plesk using plesk migration manager utility. But it was failing repeatedly. On checking the log %PLESK_ROOT%\PMM\msessions\XXXXXXXXXXXXXXX\Migration.log I found the below error ForeignMigratorCore.MigratorException: Unable to download dump files to local store. —> System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified. Server stack trace: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at […]
Redirect www to non www with .htacess
Google consider www and non www domain’s as separate. So sometimes you may want to redirect all your www url to non www url i.e http://www.domain.com to http://domain.com You can easily do it by adding the below code to your .htaccess files. RewriteEngine On RewriteCond %{HTTP_HOST} !^yourdomain\.com RewriteRule (.*) http://yourdomain.com/$1 [R=301,L]
Enable SFTP Logs
SFTP logs are disabled by default. Sometimes you need to enable the logs see what the users are upload/downloading from the server. You need to make two changes to enable SFTP logs. Edit the subsystem line in /etc/sshd/sshd_config Subsystem sftp /usr/libexec/openssh/sftp-server -f LOCAL7 -l INFO Add below lines to /etc/sysctl.conf #sftp logging local7.* /var/log/sftpd.log