turns out farm.php uses the domain name request came on to serve wiki from DOKU_FARM_DIR/domain