changed production api layer to use dns name