“When you are on a shared hosting plan you may have seen this problem while trying to login to your wordpress admin login panel which is quite frustrating. However you will be able to login to your admin panel using your cellular data connection, computer at your friend home or cyber cafe. But, surprisingly wordpress won’t let you login on your own admin panel on your IP. In this article we are going to discuss all the possible problems and its solution to get you fix the login issue.
Here is an example of the error you get
“Safari can’t open “DOMAINNAMEDOTCOM” because the server where this page is located isn’t responding”
“This site can’t be reached
DOMAINNAMEDOTCOM took too long to respond.
“The connection has timed out
The server at DOMAINNAMEDOTCOM is taking too long to respond.”
“Connection time out or unable to load the page because it took too long to respond” error is basically caused by the server low response especially if you are on a shared hosting plan. Clearing you browser cache and DNS cache is most suggested but in many cases it won’t work. Here are the few alternatives you can use which is going to help you for sure. Tweaking the .htaccess file may help you. But before you directly head to your cpanel and start searching for htaccess I recommended you to go through all these methods mentioned below:
Methods to solve “took too long to respond WordPress Admin Login” problem
1.Clearing the browser Cache memory.
This is the most populat method to solved the problem, even most of the hosting companies support team will ask you to go for a chache cleanup to resolve the problem, but you know that, this is not going to help at all.
2.Flushing you DNSCache
go to your CMD by typing CMD in Run box(Access by pressing Start+R)
If every thing goes well a configuration message should be display as shown in pic.
After hours and hours of speaking to multiple agents and to an IT that I know, there’s no solution to this problem. My website’s IP cannot be accessed as it doesn’t route correctly between the device accessing it and wherever the website is located. I was told that this is something that is too complex and unknown, that it can’t which may gonna help you. The default command to reset or flush your DNScache is:
3. Tweaking you .htaccess
WordPress works on PHP as we all know, thus to protect hosting server from spam and all other security threats there is a default time limit set to run the PHP script. In most of the shared hosting plan the hosting providers have set this level to a higher lever but some others have set this value to a lower level. When a script reaches the maximum execution time limit, it results into maximum execution time exceeded error.
Editing .htaccess File Manually
You can acess you .htaccess file on the root folder of your FTP file Manager. Once you have logged in to the Cpanel of you hosted server. Your .htaccess file is located in the same folder as your /wp-content/ and /wp-admin/ folders.
Next add the following line to your .htaccess file by editing it.
php_value max_execution_time 300
This code simply sets the value for maximum execution time to 300 seconds (5 minutes). If you still get the error, then try increasing the value to 600.