We had taken two 10.2 servers to 10.4 by upgrading the OS and then
copying the <http> and <var/named> folders from a backup. In the
problem I've posted regarding "All requests go only to the parent
domain," we had tried to bring up the server from a clean install and
then re-creating the web sites, i.e. the <sites> files in the <httpd>
folder and <httpd.conf>, using Apple's Server Admin. After almost 3
weeks and many tries we gave up and simply copied the complete
<httpd> folder from another server and then hand-edited the files to
point to the correct web sites and voila, it worked.