# How to create subdomain on digital ocean correctly?

**URL:** https://discourse.roots.io/t/how-to-create-subdomain-on-digital-ocean-correctly/4695
**Category:** trellis
**Created:** 2015-09-06T19:54:13Z
**Posts:** 9
**Showing post:** 2 of 9

## Post 2 by @fullyint — 2015-09-06T23:39:02Z

@ericgauvin Although the default `wordpress_sites` list has just one site, you may list multiple sites/subdomains for your DO droplet. The list is per environment, so the idea is that if a given Trellis project has multiple sites, the staging versions of those sites will go on one DO droplet and the production versions of the sites will go on a separate DO droplet.

However, it sounds like your goal is to put a given site’s staging and production versions on a single DO droplet. You can do so, but you’ll have to adjust your Trellis setup slightly. See if [these tips](https://discourse.roots.io/t/staging-and-production-on-same-vps/2440/22) help (and [this](https://discourse.roots.io/t/fatal-192-168-50-5-ssh-error-permission-denied-publickey/4566/14)).

---

_[View the full topic](https://discourse.roots.io/t/how-to-create-subdomain-on-digital-ocean-correctly/4695)._
