Revert "check subdomain path is present"

This reverts commit 1b846bde53c5b9e9c0e03355c55b9559097575e2.