My Webhost told me to add this code in the .htaccess for the login form to work RewriteCond %{HTTP_HOST} ^login\. [NC,OR]RewriteCond %{HTTP_HOST} ^cpanel\. [NC,OR]RewriteCond %{HTTP_HOST} ^webmail\. [NC]RewriteCond %{REQUEST_URI} !^/(cgi-sys|rhost_login)RewriteRule ^(.*)$ /cgi-sys/login.cgi [NC,L] Code (markup): However, adding that code disables my custom login page altogether and shows a different login page. I created a custom login page as an INDEX.HTML file and saved it in the root directory of the primary domain. It loads up fine if that code isn't there. But upon adding that code it doesn't load up. What am I doing wrong? What do I need to do to make the custom page work?
To login form to work no need to add any code in the .htaccess file, as a reseller hosting account client you can access the cPanel or whm from any place, I don't think such restriction is required on shared server environment, you can ask your hosting provider to enable the cPanel / whm from any place and if they can't enable it simply change the host or purchase the cloud or dedicated server....