Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make a virtual host accept multiple domains? [closed]

I have two different domains I want to use for this website, how can I configure the virtual host to make this work?

Is it possible to assign it more than one server name?

like image 837
agente_secreto Avatar asked Apr 30 '10 13:04

agente_secreto


1 Answers

Yes. Use the ServerAlias directive alongside the ServerName directive.

like image 95
skaffman Avatar answered Oct 02 '22 17:10

skaffman