localhost replaced by domain