Apache Issue after changing a Server's Hostname

If you changed your server’s hostname and Apache is now redirecting a domain to the default vhost configuration, read Slopjong’s article on this topic. It explains what’s going on and how to solve the problem. If you are too lazy to read the article, just add a ServerName * to /etc/apache2/sites-available/default and reload Apache’s configuration using service apache2 reload.

/images/server.jpg