From "Apache Cookbook," are my annotations correct?
Assumptions: DNS is configured properly for 10.0.0.1
.
ServerName 127.0.0.1 // where Tomcat is running
NameVirtualHost 10.0.0.1:80
<VirtualHost 10.0.0.1:80> // www.TheSmiths.name loads up
// the content at C:/.../TheSmiths
ServerName TheSmiths.name
DocumentRoot "C:/Apache/Sites/TheSmiths"
</VirtualHost>
<VirtualHost 10.0.0.1:80>
ServerName JohnSmith.name // www.JohnSmith.name loads up
// the content at C:/.../JustJohnSmith
DocumentRoot "C:/Apache/Sites/JustJohnSmith"
</VirtualHost>
If I type in just "10.0.0.1
," then the first virtual host will be hit, which is TheSmiths.name
?