Question

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

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! :)

Subscribe
Share

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.

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