set allowed_hosts to * to resolve 500 errors that occurred when DEBUG was set to False