fix hostname for custom domained staging sites