Static Website and Ghost Blog

December 31, 2013 4.2k views
Hi, This is my first website/blog I am setting up, and I'm slightly unsure of what needs to be done. I have a static one-page website, which is essentially my landing page- it contains a link to my ghost blog and social media links. I have a link to my ghost blog, which I would like to have simply the my homepage url and then the extension '/blog'. Is this possible with Digital Ocean? Can I have a static website and a ghost blog on another page?
3 Answers
I have a link to my ghost blog, which I would like to have simply the my homepage url and then the extension '/blog'.

Last time I checked, Ghost cannot be installed in a subdirectory.

I would host ghost on blog.yourdomain.com and your static website on yourdomain.com
by Etel Sverdlov
This tutorial shows you how to set up a new directory, how to grant the correct permissions, how to add content to a new page, how to turn on virtual hosting, and how to, if needed, set up local hosts. Virtual Hosts are used to run more than one website or domain off of a single server and IP address. When used with nginx, virtual hosts are called Server Blocks. This tutorial covers setting up server blocks on an Ubuntu server.

Yes, Ghost now allows you to create a home.hbs template which would allow you to create a static homepage for your blog. Your landing page code would be added to the home.hbs template. I know you asked the question awhile ago, but i said id answer incase anyone else had the same issue.

You can also make your Ghost blog a static website. This involves installing Ghost locally on your computer and creating a static website using Buster Static Site Generator. You can then host your Ghost static site on digitalocean without needing to use Node.

Have another answer? Share your knowledge.