Easy and Simple Solutions

Thursday, October 20, 2016

preview link not working whm

Sometime, your website preview link will not work on cpanel based server.
Goto WHM >> Security Center >> Apache mod_userdir Tweak >> disable mod_userdir >> save.

Sunday, October 16, 2016

404 error Page not found magento

Once you migrated the magento website from one server to another server, you will receive the error like below.
404 error: Page not found.
Error 404 not found magento admin login page
1.Open phpmyadmin and select the db and run the query in your database.
   UPDATE `core_store` SET store_id = 0 WHERE code='admin';
   UPDATE `core_store_group` SET group_id = 0 WHERE name='Default';
   UPDATE `core_website` SET website_id = 0 WHERE code='admin';
   UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT        LOGGED IN';
2.Delete the cache files from the below folder
3.Check your admin login page after few min.

Saturday, October 15, 2016

plesk website ask for username and password

Domain asks username and password on your windows plesk based hosting , you need to reconfigure the website.Due to some misconfiguration on your website.
1.Login to RDP and open command prompt. %plesk_bin%
3.websrvmng.exe --remove-vhost
4.websrvmng.exe --reconfigure-vhost
NOTE : Replace with your domain name.

Wednesday, October 5, 2016

plesk file manager internal error access denied

Permissions on the virtual host directory are corrupted and your subcription user does not have a proper permission to access it.
Internal error: Access denied plesk file manager
1.Open command prompt
2.Repair single domain
   cd %plesk_bin%
   repair.exe" --repair-webspace-security -webspace-name demo
3.Repair all domains
   cd %plesk_bin%
   repair.exe" --repair-all-webspaces-security
NOTE: Replace demo with your domain name.

Saturday, October 1, 2016

nameserver show wrong ips whm

Sometimes, the nameservers IP will show wrongly.Login into ssh then check and correct the entries from the below files
vim /etc/nameserverips
vim /var/cpanel/nameserverips.yaml

once updated restart named service
/etc/init.d/named restart

Sunday, September 25, 2016

increase file size limit .htaccess

Manually increase the upload,memory,post size using .htaccess. Create or edit your .htaccess file and add the below line
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value memory_limit 64M

NOTE : Replace the size 64M as per your requirement needed.  

Tuesday, September 20, 2016

how to prevent emails from going to spam cpanel

To prevent the emails are receiving to spam folder on cPanel hosted domains.Change the following things to get rid from this issue.
Goto cPanel >> Email authentication >> activate SPF and DomainKeys
Real Time Analytics