database config and domains added.