# Aborted trying to redefine constant 'MULTISITE'

**URL:** https://discourse.roots.io/t/aborted-trying-to-redefine-constant-multisite/17107
**Category:** trellis
**Created:** 2019-11-19T12:57:17Z
**Posts:** 3
**Showing post:** 3 of 3

## Post 3 by @RistoKaalma — 2019-11-19T13:46:38Z

Hey @baardbaard, you might find this post helpful as it did the work for me:

> [@Not Sure How To Get Multisite Functional in Dev Environment](https://discourse.roots.io/t/not-sure-how-to-get-multisite-functional-in-dev-environment/15701/2):
>
> Ok, so from the sounds of it, you want to host a Bedrock multisite network where the domains are all unique (not subdomains or subdirectories). For multisite installs WordPress gives you two options, subdomains or subdirectories. In order to do domain mapping — i.e. using custom domains for each site — we need to go with the subdomain option. This means we just need one Bedrock install. When you initially create a site in the network admin, you will need to create the domain as: \<domain-i-want\>.\<…

Somwehere in the middle @knowler stated:

> Note, I’m using `define()` rather than `\Roots\Config::define()` since Trellis will [temporarily add these constants](https://github.com/roots/trellis/blob/master/roles/deploy/files/tmp_multisite_constants.php) when it deploys. The latter will throw an error that stops the deploy while the former is silent (even though constants are being redefined).

---

_[View the full topic](https://discourse.roots.io/t/aborted-trying-to-redefine-constant-multisite/17107)._
