Using HTTP_HOST to define WP_HOME and WP_SITEURL.