By sohamkarwa
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?
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!
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.
<blockquote>I have a link to my ghost blog, which I would like to have simply the my homepage url and then the extension ‘/blog’.</blockquote> <br>Last time I checked, Ghost cannot be installed in a subdirectory. <br> <br>I would host ghost on blog.yourdomain.com and your static website on yourdomain.com
Check out <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3”>https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3</a>—you will need to create a second virtualhost for your site.
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.