By mattryanmay
I host multiple websites on my server, most of which are anywhere from basic HTML pages to Wordpress blogs. Is there any way that I can run a Ghost blog along side all of that on a separate virtual host within Apache? I’ve tried doing this in the past but I had Nginx and apache both running.
I’m just beginning to learn about node.js, so I’ll I know at this point is that it’s needed for Ghost to run.
tldr; I want to have a ghost blog that I can server with apache and still be able to access my other websites.
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!
Sure you can! Node apps have their own web server built in. When you run Ghost, it will is served on port 2368 by default. The port can be configured in <code>/path/to/ghost/config.js</code> You can then set up an Apache VirtualHost that proxies port 2368 to the subdomain or subfolder you want using a ProxyPass. Check out this article for more info on Apache ProxyPasses: <br> <br>https://www.digitalocean.com/community/articles/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
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.