It is currently Mon May 20, 2013 5:25 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: apache to redirect to different internal servers
PostPosted: Mon Jul 18, 2011 11:04 pm 
Offline

Joined: Mon Jul 18, 2011 10:35 pm
Posts: 1
Hello to everyone,

I am new to apache configuration. I am thinking of implementing the following but not sure how:

I would like to have one server that will be accessible from the internet for example IP1.
I would like to have different server that host different web sites for example IP2, IP3. I know I could use virtual servers with Apache, but the problem is that for example for magento there are problems with LAMPP so I am thinking of running ZendServer in IP3.

The canonical name for the web site is as following:
IP2 name2.com
IP3 name3.com

In IP1 and IP3 I will run LAMPP but in IP1 only apache.

I want to have the following:
when someone hits the name2.com address the request will come to the IP1 and then apache should forward the request to IP2 (I want apache to translate the url from name2.com/... to IP2/...). The same I would like to have for the IP3.

Do you know how I can do that with apache LAMPP? I have tried using Redirect but this is actually redirect the url to IP2/... but IP2 is not accessible from the internet so doesn't work.
I also tried Alias but it didn't work too. I think alias is only for directories, like symlink, so is not translating the url as I want.

Would I have what I want by using Apache proxy? But for this one I will also DNS ? I am reading books but they are all messed up in my head!


Thanks,
Tim


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours [ DST ]


Who is online

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