Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2012, 12:55 AM
pokermagic pokermagic is offline
Junior Member
 
Join Date: Apr 2011
Posts: 5
Default IP Based Virtual Host

HI,

I have a site that is statically NAT to an internal ip 172.21.156.10. I just had another external IP NAT to internal IP 172.21.156.12.

Both are different domains by extension.. One is .com and the other is .org but i want to host entirely different sites...

However when i goto the new .org it's still pulling from the .com. The file and data is still being pulled from the resin container.

I do believe i need to add a IP Based virtual host so each domain can be pointed to the proper public_html.

Would i just change the resin.conf file to include...

<cluster id="web-tier">
<server id="a">

<http address="172.21.156.10" port="80"
virtual-host="slytherin.caucho.com"/>

<http address="172.21.156.12" port="80"
virtual-host="gryffindor.caucho.com"/>

</server>

...

<host id="slytherin.caucho.com">
...
</host>
</cluster>

I think that makes sense, but wanted to ask another opinion.

Thanks for your help.

Regards,

JR
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.