Server Fault is a question and answer site for system and network administrators. 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

I've set up Apache2 on a small home server and I'm trying to get Transmission running through it. I've got it working just fine, but I'm having an issue where the redirect I've set up for the transmission vhost is also working on the main site. This will make it impossible to host any other web app at the main site. Here's my http-vhosts.conf file that includes the redirect:

NameVirtualHost *:80
<VirtualHost *:80>

    ProxyRequests Off

    ProxyPass /transmission
    ProxyPassReverse /transmission
    Redirect permanent / /transmission/web/

    <Location /transmission>
        Order Allow,Deny
        Allow from All

I want the redirect to ONLY work under the transmission subdomain. Currently if I go to I'll get redirected to and it loads fine - but I don't want it to. Is there something wrong with my vhosts file above?

Also the reverse-proxy with mod_proxy should only be working for the subdomain as well so I'm having the same issue with that.

I understand that I've been using the term 'subdomain' thus far to refer to sub-subdomains, but I've got it all hooked up to a DynDNS account so I can only add new sub-subdomains, could that be an issue?

Thanks in advance for any help!

share|improve this question
up vote 1 down vote accepted

Have you defined a vhost for the servername "" ?

If you don't have done that, Apache will take the first loaded vhost as a "fallback" vhost whenever the host name is not defined anywhere in Apache.

This would make sense since if you don't have defined the other vhost for the apps you want to access, Apache will serve you with the first vhost it has loaded (probaby the one about Transmission)

I hope this helps you.

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.