I recently moved some of my websites to Hostgator shared hosting. One of my sites required html files to be run as PHP. The HTML files contained PHP code which needed to be executed. The site was added as an Addon Domain in Hostgator. That can be done in most hosts by creating a .htaccess host in the root directory of the website (The root directory of the website is something like /pubic_html/yoursite.com/ in cpanel, by default) and adding the following line to it: Continue Reading
