Dont use the suffix domain if its not defined

while a good idea some people may not want to use the domain so if its undefined we should totally ignore it