Strip www from server name

And remove previously added protocol check: WordPress will mostly be
served over http.
Exit with message if no environment is configured