Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 22, 2013 10:31 am 
Offline
Senior Newbie

Joined: Mon Sep 03, 2012 12:42 am
Posts: 6
Dear sir,

I have two IP addresses in my Linode and set one of them for a specific domain lets say a.com

However, using a.com address in the browser displays another website of mine lets say b.com.

Support commented that something might be wrong with Apache virtual hosts configuration. Can anyone advise how to fix, please?

Tthanks and regards


Top
   
PostPosted: Sun Sep 22, 2013 11:29 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
msamavi,
We'll need more information in order to help you. Please provide the domain names and the vhosts configs for each domain.

Make it as easy as possible for us to help you.


MSJ


Top
   
PostPosted: Thu Oct 31, 2013 4:47 am 
Offline
Senior Newbie

Joined: Wed Oct 30, 2013 9:22 pm
Posts: 7
You're probably looking for an additional NameVirtualHost <IP Address> directive entry inside of httpd.conf. You can have multiple for as many IP addresses as you'd like Apache to bind to.

Code:
NameVirtualHost 123.123.123.123


then proceed with your Virtual Host directives as normal, specifying the secondary IP address.

Code:
<VirtualHost 123.123.123.123:80>
ServerName ...
</VirtualHost>


Top
   
PostPosted: Sat Dec 14, 2013 9:27 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 138
Location: Mesa AZ
Delete

_________________
Kevin a.k.a. Dweeber


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