Add domainId as hostname[0]