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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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