---
title: "How to fix ACSF site domains stuck on \"update\" environment"
date: "2024-12-12T23:42:32+00:00"
summary: "Fix ACSF site domains stuck on \"update\" environment with our step-by-step guide for redeploying code and resolving platform issues."
image:
type: "article"
url: "/site-factory/help/60141-how-fix-acsf-site-domains-stuck-update-environment"
id: "a645b154-ac9b-40c8-a4bf-07c4acde1414"
---

Issue
-----

In rare cases, after a failed code deployment, some site domains can remain with the "**update**" environment, instead of the "**production**" environment.

Resolution
----------

In the situation where a code deployment has failed, and site domains remain associated to the "**update**" environment, this can be resolved by applying the steps outlined below.  
These steps assume that the deployment failure is due to a platform issue and not due to code itself.  
Essentially these steps will perform a redeployment of currently deployed code which will correct those site domains that are incorrectly associated with the "**update**" environment.

### Steps to rectify

1.  Go to the "**Update code**" page
    1.  From the menu, select "**Site Factory**" and then "**Site Update**"
    2.  This should direct you to the path `admin/gardens/site-update` of your Site Factory dashboard  
         
2.  From within the "**Start Update**" tab on the page
    1.  Leave the "**Scope**" setting as default ("**Sites**")
    2.  Leave the "**Start time**" setting as default ("**Immediately**")
    3.  Under the "**Site update action**"
        1.  Set the "**Choose a path to deploy...**" to be the same as "**Currently deployed**" - that is the path that is already deployed
        2.  Select the "**Code only**" option
        3.  If this is a _**production environment**_ then select the checkbox for "Select this check box to confirm that you want to update your public-facing production environment."  
             

![Screenshot of Site Factory Start Update page with the fields branch, code only,checkbox to confirm update of production environment.](https://acquia.widen.net/content/b15849e8-6bcf-4dd9-8320-b66f97112589/web/acsf-site-update.png)

Once the settings have been chosen, click on the "**UPDATE**" button to start the deployment for the "**production**" environment.