Question

DNS Record for subdirectory?

  • Posted on December 28, 2013
  • jbooherAsked by jbooher

I have a Ghost blog setup at blog.domain.com

I would like to have domain.com/blog

How would I set this up?

I’m sure I need some sort of DNS record?


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.

<blockquote>So domain.com at one host and domain.com/blog at DigitalOcean is not possible?</blockquote> <br>That is not possible.

Ghost doesn’t work on a subdirectory so you will have to host it on its own (sub)domain.

"Create an A record in your DNS control panel, for blog.domain.com, pointing to your DigitalOcean IP address. " <br> <br>I was able to do so, however I don’t want the blog in a subdomain (blog.domain.com) I would like it in in domain.com/blog