<p>in Config.groovy I see this:</p>

<pre><code>// set per-environment serverURL stem for creating absolute links
environments {
    production {
        grails.serverURL = "http://www.changeme.com"
    }
}
</code></pre>

<p>what is the correct way to access that at runtime?</p>

here it is:
```
```
import org.codehaus.groovy.grails.commons.ConfigurationHolder
println ConfigurationHolder.config.grails.serverURL
```
```
alternatively, in controllers and tags, apparently this will work:
```
```
grailsApplication.config.grails.serverURL
```
```
I needed it in BootStrap, so option 1 was what I needed.