Couple of questions about server configuration.


I have a server set up as a web server here with Digital Ocean. I am looking to try to find out how to associate my domain with many servers and I am trying to figure out how to expand that web server to other cities and countries.

The server seems to be set up now for New York (or out of New York). I am guessing that for the US, I would not have to do anything extra. Can anyone confirm that is correct? What about for other countries?

I would be very grateful if someone could link me some documentation on how to do these type of things.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


How you’d go about setup depends on what you’re wanting to do.

Are you wanting to accept a request and send the visitor to the closest web server – i.e. someone makes a request from Tennessee (in the US) and they’d get served by a server in New York, while if someone made a request in Italy, they’d get served by a server in Amsterdam?

That’s just a basic example meant to gauge what you’re trying to accomplish.

If that’s the case, then you’d be looking in to a GeoIP setup. Essentially, you’d setup a proxy server using NGINX (easiest to setup, IMO) which would accept the incoming request and then, based on specific rule sets, it’d proxy the request to a server defined by said rules.

For that, you’d might want to check out:

If I completely missed it, please let me know what you’re wanting to do in more detail :-).

Thank you for the reply jtittle!

I think that is what I want. Are you able to this with only one server? I only have one at the moment.