Wordpress on droplet with pre-installed Ghost?

October 23, 2013 2.1k views
Hello. My current website (hosted by a Swedish company) has Wordpress installed in a subfolder. My friend uses it for blogging. I cannot install Ghost on that server, so I got a DO droplet with pre-installed Ghost. That works perfectly. But I cannot point my domain name (DNS etc.) to the DO server before I manage to install and run Wordpress on it too. Wouldn't want my friend's blog to go down for too long. I have followed the steps here https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04 to install LEMP and set up Wordpress, but I cannot access it via the browser. I'm thinking that perhaps it's not possible to install both Ghost and Wordpress on a pre-installed droplet, so to speak. I would pastebin any config files etc. if I knew in advance which ones were needed for one of you to help me with this, so that will have to come later.
6 Answers
What do you have in /etc/nginx/sites-enabled/?
Well, thank you for pointing me in the right direction, at least ^_^
I looked in the wordpress file I found there, and saw that I has missed a digit in the IP address. The complete file is here: http://pastebin.com/bEAb1LJu
I have installed and begun configuring Wordpress now, but I can't access my ghost blog anymore. I guess I need to make the two installs live in harmony some way. is the site, as it stands now.
Perhaps I should add that my plan is to have the WP blog accessed at http://frurinblad.example.com, and my Ghost blog at http://www.example.com somehow.
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.
Managed to get some stuff working, and I have pointed my domain to the correct IP. When the DNS servers have worked their magic, I will continue setting things up.
Thank you for your time.
If it still doesn't work, please pastebin both virtualhost files.
Have another answer? Share your knowledge.