add class to cdn and cloud
hostname error detection