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?


Solution 1:

Yes. Use the ServerAlias directive alongside the ServerName directive.