hosts file for multiple site setup



For local setup of multiple sites on your server, for test or upgrade purpose:


for example:


used: Server 2008/OpenSuse

go to:


open the hosts file with for example Word pad and add:       localhost
::1             localhost


If websites do not show while clean urls are enabled on OpenSuse

change in etc\apache2\vhost.d

<Directory /srv/www/_sitedir_>
AllowOverride ALL
Require all granted