Changing logic order to check for 'cnet' first, as herokuapp isn't renamed yet