Apache 2: I have multiple domain names I want to point to one Virtual Host. Do I use ServerAlias?
- by Chris Altman
I have multiple domain names, for example:
www.foo.com
www.goo.com
www.moo.com
www.coo.com
I want all of these domain names to resolve to one website AND to redirect to www.foo.com
What is the best method to achieve this?
Multiple entries?
Use ServerAlias?
Something else?
If the best method is ServerAlias, what is the syntax?
ServerAlias www.goo.com, www.moo.com, www.coo.com