Added one more functionality to check if link is present in subdomain