add database and domain