Ghost blog has two addresses on top domain and subdomain, how to unlink one


the question is following: I installed Ghost using the pre-made DigitalOcean’s solution (Ubuntu), set up the domain using the DigitalOcean’s tutorial, and the blog worked fine. But I would like to have by blog on a subdomain, and I pointed my blog to a subdomain using Ghost tutorial. It works fine, too, but now I have two identical addresses for blog access: and All posts have addresses and I would like to unlink the top domain from the blog and use it without Ghost.

I’ve read all tutorials on Ghost and subdomains here, but my knowledge in this area is very basic, and I’m afraid to screw things up. So probably there is a tutorial on this subject, but I failed to understand it. If so, please provide me a link to it.


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.

It has to be in <code>/etc/nginx/conf.d/</code> then. What files can you find in that directory?

Hmm, I’m guessing that the image doesn’t have nginx configured to use the sites-enabled directory. Can you please pastebin <code>/etc/nginx/nginx.conf</code>?