Yes, each domain name is configured with the address of the webserver and the domain name is also configured on each webserver (by a host header).