Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I'm in Ubuntu 10.10, just mounted my new NAS in the /media directory. I then proceeded to add a new DNS entry called newtesting.cdw, and added this as a virtual host to my apache (using webmin).

When I try to access the address, it doesn't work, it will go to cufon.cdw, which is defined above newtesting.cdw in my webmin control panel.

I've set it to accept any port:

 Virtual Server  Handles the name-based server on address newtesting.cdw.
Address newtesting.cdw
Port Any    Server Name Automatic
Document Root /mount/magneto/testing.cdw/

and the results of the dig command are fine:

;newtesting.cdw.                        IN      A

newtesting.cdw.         38400   IN      A

Just not having any luck when I visit the address in the browser. Does anyone have any ideas of what I should try to get this going? Is there a problem running the apache root from a NAS?

share|improve this question

It Works!

The problem was I pointed it to /mount/ when I should have been using /media/

Just to confirm to anyone with the same question, you can run apache on your server and have it serve pages from a samba mounted NAS

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.