# Site configuration and enabled modules

Source: https://zotonic.com/docs/2923/site-configuration-and-enabled-modules

URI: https://zotonic.com/id/2923

Language: en

A site is identified by its application and priv/zotonic_site configuration. Supported formats include Erlang .config, JSON, and YAML; follow the format already used by the project.

A site is identified by its application and `priv/zotonic_site` configuration. Supported formats include Erlang `.config`, JSON, and YAML; follow the format already used by the project.

For Erlang configuration, the file is a list of terms ending with a period:

```erlang
[
    {enabled, true},
    {environment, development},
    {hostname, "garden.test"}
].
```

This is a small fragment illustrating syntax, not a replacement for the generated database and module settings.

Inspect the actual configuration sources with `siteconfigfiles garden` and `siteconfig garden`. A site's installation module list and its current activation state are different concerns, especially on database-backed sites. Verify enabled modules in the admin or module manager.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2923?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2923?language=en>)
