Server: fix for too long domains