Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon May 21, 2012 4:15 pm 
Offline
Senior Newbie

Joined: Sat Feb 11, 2012 9:30 pm
Posts: 11
Location: Puerto Vallarta
Hi everyone,

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:

Quote:
/etc/cron.daily/logrotate:
[Sun May 20 06:25:09 2012] [warn] VirtualHost www.bzzzd.com: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 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 VirtualHost www.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 VirtualHost www.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 VirtualHost www.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 VirtualHost www.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 VirtualHost www.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!


Top
   
 Post subject:
PostPosted: Mon May 21, 2012 4:55 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
Perhaps provide that configuration file so we can see how you are doing this to end up with the errors you are posting.

Also helps to know what distro you are using and what web server type.

_________________
Kevin a.k.a. Dweeber


Top
   
 Post subject:
PostPosted: Mon May 21, 2012 5:00 pm 
Offline
Senior Newbie

Joined: Sat Feb 11, 2012 9:30 pm
Posts: 11
Location: Puerto Vallarta
Hi,

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.


Top
   
 Post subject:
PostPosted: Mon May 21, 2012 5:31 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
Depends on what web server you are using.

Who did the configuration of the virtual hosts if you didn't?

_________________
Kevin a.k.a. Dweeber


Top
   
 Post subject:
PostPosted: Mon May 21, 2012 6:33 pm 
Offline
Senior Newbie

Joined: Sat Feb 11, 2012 9:30 pm
Posts: 11
Location: Puerto Vallarta
A guy that doesn't work for me any more did the configuration originally., about a year ago.
All the sites worked until about a week ago.


Top
   
 Post subject:
PostPosted: Mon May 21, 2012 7:33 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
So is that first site (http://173.230.151.109) just a placeholder?

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.


Top
   
 Post subject:
PostPosted: Tue May 22, 2012 2:12 pm 
Offline
Senior Newbie

Joined: Sat Feb 11, 2012 9:30 pm
Posts: 11
Location: Puerto Vallarta
That ip seems to be just a placeholder.

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.


Top
   
 Post subject:
PostPosted: Tue May 22, 2012 4:00 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
You seem to be running Apache. By default, apache places the sites in /etc/apache2/sites-enabled. The interesting directories for you are:

/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.


Top
   
 Post subject:
PostPosted: Tue May 22, 2012 8:03 pm 
Offline
Senior Newbie

Joined: Sat Feb 11, 2012 9:30 pm
Posts: 11
Location: Puerto Vallarta
Thanks, I will give this a shot and post back.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group