def _domain_from_host(name):
    """
    Return domain from hostname.
    Cuts before first dot.
    """

    name = name.split(".")
    if not len(name) > 1:
        return False

    name = name[1:]
    name = ".".join(name)

    return name