can anybody explain me how we can utilise the virtualhost file in appache config.
your explanation makes me to put interest in appache webserver...
you can configure Apache to serve the correct content when accessing www. site1.com or www.another-site.com from the outside, and also when accessing the specific IP address 1x.1x.1x.1xx from the inside. Fortunately Apache allows you to specify multiple IP addresses in the <VirtualHost> statements to help you overcome this problem.
Here is an example:
<VirtualHost 1x.1x.1x.1xx 1x.1x.xx.xx>
ServerAlias domain, www.site1-1x.1x.1x.1xx.com
I think this will really help you out .