> What's the best way to do this? http://nginx.org/en/docs/http/converting_rewrite_rules.html http://nginx.org/en/docs/http/server_names.html Should explain how to do that - in short you make a default "catch all" server block and redirect to www.yourdomain.com . rr