[Newbie] VirtualHost Issue
I'm having some trouble with my VirtualHost configuration.
I have multiple sites in my Linode, but right now they all redirect to a single one. I'm getting these error messages on every CRON email I get:
> /etc/cron.daily/logrotate:
[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.bzzzd.com:0 overlaps with VirtualHostwww.bzzzd.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost 173.230.151.109:0 overlaps with VirtualHost
www.bzzzd.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost 173.230.151.109:0 overlaps with VirtualHost 173.230.151.109:0, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.americaselitevillas.com:0 overlaps with VirtualHost 173.230.151.109:0, the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.americaselitehotels.com:0 overlaps with VirtualHostwww.americaselitevillas.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.americaselitegroup.com:0 overlaps with VirtualHostwww.americaselitehotels.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.asiaelitegroup.com:0 overlaps with VirtualHostwww.americaselitegroup.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost 173.230.151.109:0 overlaps with VirtualHost
www.asiaelitegroup.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.edwardmoulton.com:0 overlaps with VirtualHost 173.230.151.109:0, the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.shortbrands.com:0 overlaps with VirtualHostwww.edwardmoulton.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive[Sun May 20 06:25:09 2012] [warn] VirtualHost
www.5letterbrands.com:0 overlaps with VirtualHostwww.shortbrands.com:0 , the first has precedence, perhaps you need a NameVirtualHost directive
I know I have to make some changes to my VirtualHost configuration but I don't have the necessary expertise with Linux to do so.
Can anyone help, please?
Thank you!
8 Replies
Also helps to know what distro you are using and what web server type.
The distro is Ubuntu 10.04 LTS on a Linode 512 server.
Can you tell me how to access the current VirtualHost configuration file?
Thanks again.
Who did the configuration of the virtual hosts if you didn't?
All the sites worked until about a week ago.
The prices on those domain names can't possibly be real (bzzzd.com for $9,995 all the way up to tawke.com for $100,000).
If those are actual prices, why are you farting around playing SysAdmin, just hire another code monkey to sort out your mess.
I manage several sites on different servers, the problem is that I don't know enough about Linode or linux to get to the file that I need to configure. The person that developed these sites decided to host them on linode. Once I can access the configuration file, I can configure the VirtualHost myself.
Thanks everyone for your help.
/etc/apache2/sites-enabled (for enabled sites; vhosts)
/etc/apache2/sites-available (both sites that are enabled but also those that are disabled)
/etc/apache2/apache2.conf –> general apache2 config
/etc/apache2/httpd.conf --> "special" configuration. Though I believe this depends on your distro.