httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathijs Schmittmann <i...@mathijs.info>
Subject Re: [users@httpd] virtual host configuration
Date Thu, 23 Jul 2015 19:48:48 GMT
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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message