Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an AWS EC2 instance running Ubuntu 10.10. I just migrated over my WordPress Multisite install and have that working.

With that I have a *.domain.com as an alternate server name on my Virtual Server for domain.com so that it works for any additional blog I add beyond the ones I have now. The problem is that I have two subdomains that I don't want WordPress to handle. One works media.domain.com the other doesn't sub.domain.com.

Any ideas on what I can do to get this to work?

All of this has been setup using Webmin.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Apache config really depends on the loading order, it analyzes and configured the Virtual Hosts, you just need to make certain that the definition for those subdomains is always loaded before the catchall (*.domain.com) config

share|improve this answer
Which config file might they be defined in on Ubuntu? –  Mike Wills Jan 25 '11 at 14:59
They should be defined as files in /etc/apache2/sites-available. These are sym-linked to /etc/apache2/sites-enabled usually with an ordering prefix like 000, 100, 200, etc. –  BillThor Jan 25 '11 at 15:10

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.