I am trying to find a method to find the primary domain for a website.
For example: if you visit www.yalochat.com the browser automatically changes the address to www.yalo.com. Therefore:
Input: www.yalochat.com Output: www.yalo.com
Input: www.yalo.com Output: www.yalo.com
Any suggestions?
Thanks!