public function linkalias($domainid, $userid , $vhostid)
{
$checkbelonging = DB::table("domain")
->select('unid')
->where("userid", Auth::user()->user_id)
->where ("domainid" , $domainid)
->where("type" , "unlinked")
->get();
if (!$checkbelonging) {return $error = "Trying to link foreign domain";}
}
}