Error: This Site Has Been Moved to a New Server

Sometimes you open the website on your browser and it shows the following error:

This Site Has Been Moved to a New Server.

It may be possible to restore access to this site by following these instructions for clearing your dns cache.

This error occurs due to server transfer that does not completed and DNS settings are not updated properly.

To fix the error open the .htaccess file in user root directory

nano /home/username/public_html/.htaccess

At the end of line in .htaccess file,You can find out below code

RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php5|php6|php3|shtml)$

You just need to remove the line and refresh that page on your browser.Your website would be fine.