Report this

What is the reason for this report?

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

Posted on December 10, 2013

Hello,

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: mysite.com and blog.mysite.com. All posts have addresses mysite.com/post-title and blog.mysite.com/post-title. 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.

Thanks.



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.

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>?

Oh, and I’m deeply sorry for the plain text instead of the link. I couldn’t find the markup reference for posting here.

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.