LAMP (Ubuntu, Apache2, MySQL and PHP) is used for my web server. Initially every thing worked perfectly. But at a point of time, initial request to index.php is shown in 2 to 3 minutes, even request to index.html is shown in seconds. Request to other pages from the initial page index.php is shown normally and quickly in seconds. Even weirder is the ip address of that Aqua Data Studio connected to the MySQL database is changed to an ip other than the one entered in the setting when you try to connect to the database. I thought that the point of time the change happened could be of unsuccessfully installing sendmail, but not sure.
What is the problem of the very slow initial request? How to solve the problem? I try to uninstall sendmail but do not help. I check the server which is not busy at all: most time is idle.
Thanks in advance,