put the public_html files in the /var/www/ directory

import my sql database
mysql -u root -p -h localhost activemessage < accessmo_activemessage.sql

/var/www/index.php   -> XAMPP

Firefox went to a page that was being redirected but the destination was not available. It cached that and even after restructuring the whole site was still looking for that place. Just clear Firefox's cache and it will be resolved.