Access 2 sites on same machine behind a router

Posted by Luc on Server Fault See other posts from Server Fault or by Luc
Published on 2010-03-19T16:26:49Z Indexed on 2010/03/19 16:31 UTC
Read the original article Hit count: 257

Filed under:
|
|
|

Hello, I have several machines on my lan. On of them is running 2 web sites, first_web_site and second_web_site (each one in a dedicated NameVirtualHost). Another machine is running another site third_web_site. I would like to be able to access each one, within internet, with the url:

  • first_web_site.domain.tld
  • second_web_site.domain.tld
  • third_web_site.domain.tld

knowing that 2 sites are on the same machine. Can Apache help me to do this ?

I have a machine that will have a apache server to be used for proxy purposes. I was talk to set up virtualhost on this one and use proxy server but I do not know how to do this.

Could you please give me hints ? Thanks a lot, Luc

© Server Fault or respective owner

Related posts about router

Related posts about apache