Name-based Virtual Hosts in Apache

Ιουλίου 14, 2010
Tags:

Name-based virtual hosting enables us to serve different domains from a single server. All we need is to add this line to /etc/apache2/sites-available/default: NameVirtualHost * The * specifies that Apache will serve requests for all IP addresses; optionally we can specify only a certain IP on the server. Next, we create a new for each [...]

0