Apache Virtual Host Wildcard

February 23, 2006

This is something I've always wondered about but never bothered to try…

ServerName mail.cthought.com
ServerAlias mail.*

Basically as we have been providing more and more virtual hosting for email I have been looking for a better way to manage the webmail virtual hosting. Adding a server configuration directive every time I needed to insert a new company name is a little cumbersome. Thankfully Apache does support wildcard records in the serveralias field. Time to play around with this more.

Make The Call

Get Started

Use this if you’re making an IT decision and want to avoid a costly mistake. Answer four quick questions and we’ll route you to the right next step—strategy, sourcing, contract review, or optimization.

If it’s a fit, you’ll be able to book time immediately.

Start with 4 Quick Questions

Thanks for submitting the form.
By continuing, you agree to be contacted about your request. No spam.