Report this

What is the reason for this report?

DNS Record for subdirectory?

Posted on December 28, 2013

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?



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!

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.

I would like to add domain.com is hosted elsewhere and domain.com/blog is at Digital Ccean

Let’s make sure we’re talking about the same thing, here. When you say “So domain.com at one host and domain.com/blog at DigitalOcean…” Are you referring to two different websites or two different DNS records?

You can only host your DNS records in one place, so pick one. <code>/blog</code> is a subdirectory, so it would not require its own DNS record.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.