function getDomainBase(url) {
  const host = getDomainHost(url) || ''
  return host.split('.').slice(-2).join('.')
}
Get host domain of url
@param  {String} url - href of page
@return {String} base hostname of page

@example
 getDomainBase('https://subdomain.my-site.com/')
 > my-site.com