I have a server running Ubuntu Server 14.04, and I have the apache2 webserver running on it. I would like to have a personal website for me and a few friends to host a few files. I created the website and all is running smoothly. To test file hosting, I created a "test.txt" file in the /var/www/html directory and created a link on the page to the file. In the file, I had this string:
This is a test file.
When I click the link in my browser on my computer, however, instead of the file downloading, the string "This is a test file." appears in my browser. Tested on multiple browsers. Any suggestions? I am very new to website hosting... is there something I forgot? Thanks in advance.