Deny access on domain name

(Adam Hesim) #1

(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 “” in Google, there are a lot of results from “” which is indeed pointing to my Discourse instance.
How can I redirect users which arrive on the server with 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.

(Jeff Atwood) #2

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

(Adam Hesim) #3

Ok, thank you for your help

(Jay Pfaffman) #4

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