Report this

What is the reason for this report?

virtual hosts problem on ubuntu 12.4

Posted on July 30, 2014

Hi,

I am fairly new to this, so I probably missed something obvious.

I have a ubuntu 12.4 apache2 setup. I have two sites running, they are working fine. But when I try to set up a third one, the second site gets redirected to the third. If I set up a fourth it gets redirected to the last. My vhost config are all like:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/generationalbator/public_html
ServerName www.generationalbator.be
Serveralias generationalbator.be
Serveralias www.generationalbator.be

ErrorLog /var/www/generationalbator/logs/error.log
Loglevel warn
CustomLog /var/www/generationalbator/logs/access.log combined

<Directory /var/www/generationalbator/public_html>
	AllowOverride All
	Order allow,deny
	allow from all
</Directory>

</VirtualHost>

Any ideas?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.