Deny access on domain name

Hello,
(please excuse my bad english)
I’ve just setup my instance on a new dedicated server and it seems like Discourse is showing on every domain pointing to my server’s IP.
This is a problem because I think this IP was used by an other site back in time and now when I search “mysite.com” in Google, there are a lot of results from “oldsite.com” which is indeed pointing to my Discourse instance.
How can I redirect users which arrive on the server with oldsite.com domain name, or show an error page ? I know how to do this whith Apache vhosts but Docker and RoR server are new for me.

Thank you for your help.

https is the only effective / simple answer to this scenario at the moment.

Ok, thank you for your help

Search for “using apache” to find information about configuring another web server to work with your discourse install.