SuSE Linux: All versions
How do you configure virtual web servers?
There are two possible solutions: One involves configuring your server with multiple IP addresses and requires you to run multiple Apache servers.
A more elegant solution involving a single IP address requires you to start the web server only once. Naturally, Apache will need to be configured to know which Domain Names it must answer to.
Here is a Mini-Howto:
<VirtualHost bla> ServerName bla.fs100.suse.de ServerAlias bla* ServerAdmin kfr@suse.de DocumentRoot /tmp/bla-http/htdocs ErrorLog /tmp/bla-http/logs/httpd-error_log TransferLog /tmp/bla-http/logs/httpd-access_log ScriptAlias /cgi-bin/ /tmp/bla-http/cgi-bin/ </VirtualHost>
rcapache restart