On 07/23/2015 03:48 PM, Mathijs Schmittmann wrote:
K R schreef op 7/23/2015 om 9:44 PM:
Hi,
my customer want to configure virtual host for 5 website in one apache
environment . do i have to get 5 ip addresses from network team.
Can someone please point me on how can i achieve the same
No, you should create 5 virtualhosts in your configuration and let the
Apache HTTPD listen on 1 IP. Based on which website is requested
(technically based on the 'Host' header in the HTTP request) the httpd
will select the right DocumentRoot for serving a response.
For more information about virtualhosts:
http://wiki.apache.org/httpd/ExampleVhosts
http://httpd.apache.org/docs/current/vhosts/examples.html
Thanks in advance
Best regards,
Mathijs Schmittmann
This is called "name-based virtual hosting" if you want to run a web
search for it. That may yield some help for you also.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org