Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is my subdomain that points to a VPS that I own. If you follow the above link the webserver will say that it can't find that file. However, if you replace "" with the ip address of the VPS it loads fine. And even if you just simply look at the /src/ folder using the subdomain you can see that all the files are in the directory.

Direct link via IP:

Files in src folder via Subdomain:

Does anyone know what would cause this?

share|improve this question
I've found an answer to my own question. In the original folder the name of the folder was "pdf.js" the period in the directory name causes Apache to not serve files that were under it. When I made a copy of "pdf.js" to a new folder "pdfjs" all files under pdfjs loaded correctly. – Ethan Jun 20 '13 at 19:42
You should post your answer below. Self-answering is encouraged here. – Karan Jun 20 '13 at 22:31

You must log in to answer this question.

Browse other questions tagged .