Make the domain more easily configurable

Should make it possible to easily work with S3-compatible
services that aren't provided by Amazon.