Handle env-specific hostname configuration for Wordpress.