By sairinkeyron
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.