Freelance developer, and designer

Running Ghost alongside Apache

Ghost being released was both a blessing and a curse for me. I don't have much background any background with node, I just used the Ghost droplet Digital Ocean provides.

Anyway, though it costs $5 a month, that's still $5 a month for just my blog and nothing else. While the other droplet is bombarded with countless PHP projects and subdomains.

Through a little digging, I ended up doing this for my server's 000-default.conf

<VirtualHost *:80>
    ServerName aeolu.com
    ServerAlias www.aeolu.com
    ProxyRequests off

    <Proxy *>
        Order deny,allow
        Allow from all

    <Location />
        ProxyPass http://SERVER_IP:PORT/
        ProxyPassReverse http://SERVER_IP:PORT/


That's it, you'll be able to access your site and make subdomains for your PHP projects.