Is it possible to find subdomains on a domain. Can someone help me?
currently i'm using this code..
Code:
private static String GetSubDomain(URL url)
{
String host = url.getHost().toString();
Pattern p = Pattern.compile("[.]");
String u[]=p.split(url.getAuthority());
Leave a comment: