Report this

What is the reason for this report?

Subdomains on Ubuntu LTS 12.04 with ngnix and ghost

Posted on June 17, 2014

So I had my droplet setup to point directly to a ghost installation I made during the configuration of the droplet. My DNS record is like this:

A @ my.ip.address CNAME * @

And the DNS records for DO

so if I went to mydomain.com my ghost blog would load.

Now I wanna make some changes, I would like to have a subdomain for example: blog.mydomain.com that points to my ghost blog and leave a static html(or another type of content) to mydomain.com

I’m trying to follow this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3

But it didn’t work, and I beleive it’s because I didn’t setup the DNS records properly and perhaps didn’t setup the permissions properly.

How can I setup a subdomain and keep my current ghost install?

Thanks for the time!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.