checking for dwprod hostname rather than sub domain