Is it possible to use a proxy service, so that for each HTTP request from the server to outside, I’ll get different IP address
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This should be possible but there are a few moving pieces to think about.
You’ll want to set up a Dynamic DNS service. There are free public options or you could set up something yourself. The way this works is that the computer with a dynamic IP address runs an agent that reports into the Dynamic DNS service when it’s IP changes and a DNS record is automatically updated. These records are set up with a very low TTL (time to live) so that the changes happen as seamlessly as possible.
Once you have this in place, you can set up nginx using the proxy_pass directive so that it will pass requests to that new dynamic DNS name rather than an IP address. This way your static IP will host your proxy but the content served will come from your computer with the dynamic IP.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.