Trying to install a Wordpress website and a ghost blog onto one ubuntu droplet using Nginx.
I’ve tried following:
I can’t to get it working. There was an article exactly about what I’m trying to do, but it no longer exists:
The Wordpress installation on Nginx is up and running. I’ve added my two domains to in my DNS settings and I’ve written separate sites-available (and sites-enabled) files for the two domains pointing to different /var/www/example.com/html/ directories. I’ve installed all the necessary dependancies and I tried to start up a fresh installation of Ghost. But, it opens up listing the contents of the index.js file rather than loading the site. Node.js is installed, I reinstalled npm etc etc. No luck.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!