Question

Stop random domain to point on my IP ( Ghost one click droplet)

Really happy about the one click process. For reasons I don’t really understand, a random domain ( not mine) created a A record to my IP, serving my ghost content ( with a invalid certificate warning). What is the official “ghost” way to block theses? Happy to investigate nginx conf files, but maybe ghost cli has special options I missed? Thank you

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,

What I would usually do in this case is to create a separate Nginx server block for my main domain and a default Nginx server block that would handle all other host names and only serve a default page.

For more information on how to setup Nginx server blocks you could take a look at the following tutorial:

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

Hope that this helps! Regards, Bobby