How can I add a virtual domain in Apache’s configuration?

      Comments Off on How can I add a virtual domain in Apache’s configuration?

Add something similar to this to the httpd.conf file

VirtualHost 123.456.789.123:80 *Add open tag

ServerAlias newdomain.com

DocumentRoot /path/to/root/directory

VirtualHost * Add close tag