Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Aug 11, 2009 2:56 pm 
Offline
Senior Newbie

Joined: Tue Aug 04, 2009 9:30 am
Posts: 8
I am having trouble getting a second domain to work with virtual hosts on centos 5.2 with apache.

current conf.d

Listen: ip of domain1 : 80
ServerName: 127.0.0.1
NameVirtualHost *:80

What do I have to change to get domain #2 to work? I am using ssl on domain #1.


Top
   
 Post subject: Document suggestion.
PostPosted: Tue Aug 11, 2009 2:59 pm 
Offline
Junior Member
User avatar

Joined: Thu Apr 23, 2009 2:32 am
Posts: 41
Website: http://www.linode.com/
You might want to have a look at the Linode Library document on this: http://library.linode.com/lamp-guides/centos-5/


Top
   
 Post subject:
PostPosted: Tue Aug 11, 2009 3:03 pm 
Offline
Senior Newbie

Joined: Tue Aug 04, 2009 9:30 am
Posts: 8
I was looking for more specific help. I have read the wiki.

edit: that is not the whole conf.d file.


Top
   
 Post subject:
PostPosted: Tue Aug 11, 2009 5:38 pm 
Offline
Senior Newbie

Joined: Tue Aug 04, 2009 9:30 am
Posts: 8
Seriously? Thats all you can help? I setup everything per the centos 5.2 wiki, but If I can't get this server working with multiple domains/ips then I'm going to end up canceling my account.


Top
   
 Post subject:
PostPosted: Tue Aug 11, 2009 5:57 pm 
Offline
Senior Member
User avatar

Joined: Sun Mar 23, 2008 10:10 am
Posts: 71
Website: http://frontseed.com/
Mises wrote:
Seriously? Thats all you can help? I setup everything per the centos 5.2 wiki, but If I can't get this server working with multiple domains/ips then I'm going to end up canceling my account.

Seriously? :) You sound a bit pushy to me. This is a community forum, support doesn't come by command or threatening. Also try submitting a ticket in your members area, I bet the Linode staff will try their best to help you.

However, name based virtual hosting is pretty much covered in the Apache docs. You might also want to read how to define multiple Listen directives
Perhaps you just overlooked some simple step. Check your DNS settings, if multiple IPs are involved check firewall configuration for basic connectivity, etc.


Top
   
 Post subject:
PostPosted: Tue Aug 11, 2009 6:07 pm 
Offline
Senior Newbie

Joined: Tue Aug 04, 2009 9:30 am
Posts: 8
I thought the support tickets were more for hardware issues.

Sorry if I seem like a dick, but this is ridiculously frustrating.

Thanks for the advice.


Top
   
 Post subject:
PostPosted: Tue Aug 11, 2009 8:59 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
This might be useful for learning how to ask communities for help: http://catb.org/esr/faqs/smart-questions.html.

In short, you're trying to do something that is very well-documented and has been done countless times by tens of thousands of people, so it should work very well. If it's not, you're going to need to provide some more information.

For starters:
1) What is it doing when it's not working?
2) What, exactly, are you trying to do?
3) What have you tried so far?
4) What have you changed in the configuration to try to make it work?

We might seem useless in these here forums, but at least you can look at what you're working on. We have to use our imaginations :-)


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


Who is online

Users browsing this forum: No registered users and 2 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