Have you tried using a pattern like
http://*.mydomain.com*
instead of http://*.mydomain.com/*
?