We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

Category: Migration

How to Safely Change the Location of MySQL Data Directory on cPanel/WHM CloudLinux Servers

1. Make a full mysqldump file # mysqldump –opt -uroot -proot_password > /tmp/mysqldump 2. Uncheck monitor in WHM > Service Manager for Mysql and save the area 3. Stop MySQL service # /etc/init.d/mysql stop 4. Ensure that the following settings are present check file /etc/systemd/system/mariadb.service.d/homedir.conf [Service] ProtectHome=false ProtectSystem=off 5. Make…

Setup Port or IP address Redirection with CSF

Port/IP address Redirection is one of best feature of CSF ConfigServer Security Firewall. With this feature we can redirect any/all ports or IP address to alternative ports/IP addresses. Below are requirements for Port/IP address Redirection feature : nat tables ipt_DNAT iptables module ipt_SNAT iptables module ipt_REDIRECT iptables module The following…

How to redirect non-www URLs to www

You can redirect http://yourdomain.com to http://www.yourdomain.com by setting below code into .htaccess file. RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301] // Replace yourdomain.com with your actual domain/website name. Please do contact us at esupport@L3webhosting.com if you require any further assistance.