I am trying to do something fairly simple. We have one dedicated server at ip
[our server ip]
We have purchased several domain names.
I would like to host the sites under one ip.
I set up the zone file using the interface the company provides. Here is how it looks:
In apache2, running on Ubuntu 10.04, I go to /etc/apache2/sites-available/ and create a file named
The contents of this file are:
<VirtualHost *:80> ServerName [domain name].com DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
I run the command
sudo a2ensite [domain name].com and restart the server. It doesn't work.
I changed the DNS records some 28 hours ago. What could be the issue?
What is working is the 'normal' site. I checked the DNS file and all the
IN A types are pointing to the server ip.
What is different are the name servers; the working site has name servers from the site we bought the domains. The other one has name servers from a different place.
What could be wrong here?