Website redirecting to 127.0.0.1

Sometimes, your website may suddenly start to redirect visitors to http://127.0.0.1 instead of serving your website.

This redirect is caused by a rule set in the .htaccess file in your website. This redirect was added to your website because your website exceeded the resource limits too many times. You can see the resource usage of your website by going to the "CPU and Concurrent Connection Usage" in your cPanel.

To disable the redirect, simply remove the Redirect rule from your .htaccess rule. To do, so complete the following steps:
  1. Login to your cPanel and access the File Manager.
  2. Go to the main directory of your website.
  3. Enable hidden files (if you haven't done so already) by clicking Settings in the top right corner and ticking the Show Hidden Files box.
  4. Right click the file called .htaccess and select Edit.
  5. Remove the line with the contents "Redirect 301 / http://127.0.0.1" and save.
However, note that you may need to optimize your website to prevent your website from being taken down again.
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to change cPanel and password

Changing your cPanel and FTP password is very easy from your client area. Login to the client...

"FTP Error (as admin)" from Zyro

When first trying to publish your website through the Zyro website builder, you may encounter the...

Powered by WHMCompleteSolution