I am running Ubuntu 8.04 as a server and this question specifically deals with apache2 (I think). I have 6 domains resolving to this server and I have virtual hosting set up and it works great. However, there are some small problems that I would like to fix and my attempts have been futile.
First, it I am attempting to reach site1 and type www.site1.com
it works fine. If I type site1.com (with out the www) it goes to a generic "under construction" page (try nobledivers.com to see what I mean). This happens on all the sites. I tried making another entry in the sites-enable folder and calling the ServerName with out the www and the ServerAlias with the www (this is the opposite the other entry). Also, I pinged the site both ways and the ip address is correct so it isn't a DNS problem.
Second, if I type wow.nobledivers.com (which doesn't exist so should be redirected to the original site) it is redirected to a completely different site on the server. This one I am lost on, but again, this is a server problem and not a DNS problem (as far as I can tell).
Any help would be great. Thank you.