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

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

Hi,
I set up virtual hosts on ubuntu 12.04. But not everything is going as it should. I have two files in sites-enabled. One file holds the code for one site, and it works, one for a dozen other sites, and they work also. Except now I try to add another one to the second file, and the site cannot be found. Strangely enough, the first site in that file is also the site that is visible when I go to the ip of my server 188.226.137.114, skyo.be. The code is always the same:
<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/skyo/public_html ServerName www.skyo.be Serveralias sky.be Serveralias www.skyo.be ErrorLog /var/www/skyo/logs/error.log Loglevel warn CustomLog /var/www/skyo/logs/access.log combined <Directory /var/www/skyo/public_html> AllowOverride All Order allow,deny allow from all </Directory>
</VirtualHost>
This is the first site in that file, when I put another site above this code, this site is visible on skyo.be. So is the new site I wanted to add. So I can access the site, all the redirections work.
I know this is kind of a mess, I would like to have different files, so for each site one file in sites-available instead of one (strangely enough the second file works). I followed the tutorial on creating virtual hosts:https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts
Does anyone have an idea how to get this fixed?
thanks!!
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2