Report this

What is the reason for this report?

How to use a droplet to redirect incoming traffic to a specific public website?

Posted on October 7, 2020

How do you configure a droplet thats full purpose is to exclusively take you to a specific website when (anyone) tries to enter the droplet’s IP/port into a web search? While also maintaining the IP of the droplet; so the website would see the droplet’s IP, not the user (therefore also Making it accessable to someone for which the website may be blocked in their country or by their firewall). Hope my question makes sense! :)



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!

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.

Hi there @7imontapia,

What you could do is install Nginx and create some redirect rules based on your requirements.

I would recommend going through this tutorial here on how to setup redirects with Nginx:

https://www.digitalocean.com/community/tutorials/how-to-create-temporary-and-permanent-redirects-with-nginx

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.