Setting namespace and canonical_namespace for the domain together and doing the same for the application