You don't need to rename it to an html file, just serve it with with the following header:
Content-Type: text/html