Hi,
I am trying to add an intranet for my company. I have followed the VirtualHost Examples from the Apache website. Done the necessary modifications in the httpd.conf file.
Followed the procedures below (create the directory):
--------------------------------------------------
Listen 80
# This is the "main" server running on 172.20.30.40
ServerName server.domain.com
DocumentRoot /www/mainserver
# This is the other address
NameVirtualHost 172.20.30.50
<VirtualHost 172.20.30.50>
DocumentRoot /www/example1
ServerName
www.example1.com
# Other directives here ...
</VirtualHost>
<VirtualHost 172.20.30.50>
DocumentRoot /www/example2
ServerName
www.example2.org
# Other directives here ...
</VirtualHost>
--------------------------------------------------
All I get is a message from squid :
The requested URL could not be retrieved
Can someone help, should I modify the hosts file? One more question: How can I limit access to only client computers on the network to the virtual domains, i.e. no access from internet?