OK, this is sort of a noobish question here. I have an Apache2 web server running on Ubuntu Karmic with two .php web sites on it. One site is strictly for internal use and the other I want to be accessed from the Internet. As most of us know in IIS you can tie a specific IP address to a specific web page. How can I do this in Apache? I have tried playing with VirtualHost, but I cannot seem to get that to work correctly. For you Linux/Apache wizards this should be an easy 500 pts.
NameVirtualHost bbb.bbb.bbb.bbb:80
<VirtualHost aaa.aaa.aaa.aaa:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /www/domain
</VirtualHost>
<VirtualHost bbb.bbb.bbb.bbb:80>
ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain
</VirtualHost>
hope it helps