Implement configureHost.