title: grails application redirects to previous DNS
body: <p>The admins here moved the grails application to a new subnet and changed the DNS. My application however continues to redirect and create links to the previous subnet/DNS. I searched my project for any use of the old DNS without any hits.</p>
  
  <p>this is what the redirect logic looks like:</p>
  
  <pre><code>withFormat {
          // Browsers re-direct to prevent multi-submit issues, the others just get the data of the created Evaluation
          html {
              flash.message = message(code: 'default.created.message', args: [message(code: 'evaluation.label', default: 'Evaluation'), evaluationInstance.id])
              flash.messageType = "success"
              redirect(
                      mapping: "restChild",
                      params: [
                              parent:'performanceReview',
                              parentId: evaluationInstance.performanceReview.id,
                              id: evaluationInstance.id
                      ]
              )
          }
          json {
              response.status = 201
              response.setHeader("Location", createLink(mapping: "restEntity", absolute: true, id: evaluationInstance.id).toString())
              forward(action: "show", id: evaluationInstance.id)
          }
          xml {
              response.status = 201
              response.setHeader("Location", createLink(mapping: "restEntity", absolute: true, id: evaluationInstance.id).toString())
              forward(action: "show", id: evaluationInstance.id)
          }
      }
  </code></pre>
  
  <p>this is the conf/URLMappings.groovy file</p>
  
  <pre><code>// RESTful entity mapping
  name restEntity: "/$controller/$id"(parseRequest: true) {
      action = [GET: "show", PUT: "update", POST: "update", DELETE: "delete"]
      constraints {
          id matches: /\d+/
      }
  }
  </code></pre>
  
  <p>my question is, where would i look to fix the domain name for the redirects? </p>