Setting namespace and canonical_namespace for the domain together 

also, doing the same for the application