Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have multiple clients (mobile and web) that need to connect to my application on the cloud using web services. How do I specify the IP address of the server in my client code? Another query is - if I change the server, and go to another cloud provider and get a new IP address, would I need to change all my client applications to reflect the new IP address? Is there any other optimized way in which I would not need to change the client applications?

Any help would be appreciated.


share|improve this question

You don't specify the IPs on your client, nobody does that, you point them at the matching DNS record for your services. And for your second question you're update your DNS records to match your new IP addresses.

Please don't take this as rude or offensive but this is a very basic question that anyone with even the smallest experience with web/IP systems would know - that you're asking this question worries me that you may not have the right experience and training to be building such systems. Again I'm not being rude but it would be a bit like getting into a taxi and the driver asking you what a steering wheel was.

share|improve this answer
+1 times a million. – Chris S Mar 10 '11 at 13:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.