virtual hosting multiple domains multiple ips
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.
6 Replies
http://library.linode.com/lamp-guides/centos-5/
edit: that is not the whole conf.d file.
@Mises:
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 hostingListen directives
Perhaps you just overlooked some simple step. Check your DNS settings, if multiple IPs are involved check firewall configuration for basic connectivity, etc.
Sorry if I seem like a dick, but this is ridiculously frustrating.
Thanks for the advice.
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