Moving domain and paths to config