Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 added a virtual host to apache2 on my new Ubuntu 11.10 serverbox. Works fine for all the websites called by the plain domainname.

But adding a serveralias like 'ServerAlias' to the sites enabled virtualhost file, all the websites-pictures jpg, gif etc are not displayed in the browser calling the aliased website

Clearly there is some difference between plain domainname and aliased domainnames like, but cannot asses which directive is causing this behaviour not displaying pictures in the aliased websites.

Where and which apache2 directive I have to add/skip in order to display pictures in aliased websites ?

share|improve this question
Can we see the Apache config file? ("ServerAlias" does not look right, but there's more a person would want to see) – user8290 Jan 9 '12 at 13:18

That did the trick: "serveralias" deleted and replaced by "serveralias".
As simple as that :)

Fred aka Cheeseburger

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.