> For the complete documentation index, see [llms.txt](https://openimis.gitbook.io/installation-and-country-localization/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openimis.gitbook.io/installation-and-country-localization/web-application-localisation/deploy-the-localized-web-application.md).

# Deploy the localized Web Application

## Video tutorial&#x20;

{% embed url="<https://youtu.be/H7fHZqP38HQ>" %}

## Publish and deploy the Web Application&#x20;

In the previous sections, we have seen how to update the escape procedures and to add new language translation. In this section, we will publish the new customised Web Application in a folder and deploy it over the previously installed generic version.&#x20;

{% content-ref url="/pages/-Mfmv4deyxNZCbw7CVTo" %}
[Escape procedures](/installation-and-country-localization/web-application-localisation/escape-procedures.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mfq2NsyFMflgHrdfRdD" %}
[Multi-language support](/installation-and-country-localization/web-application-localisation/multi-language-support.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MfmPIhkDbycaLUNMpvK" %}
[Web Application installation](/installation-and-country-localization/legacy-web-application-installation/web-application-installation.md)
{% endcontent-ref %}

### **Publish the customised Web Application**&#x20;

For detailed documentation on publishing using Visual Studio, visit the [how to deploy to a local folder](https://docs.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-to-local-folder) webpage.

Open in Visual Studio the Web Application .Net solution updated in the previous steps.

In Solution Explorer, right-click the IMIS project and choose `Publish` (or use the `Build` > `Publish` menu item).

The default target location is the `publish` folder under the Web Application solution folder. If you wish to change the target location then you just edit the configuration.

Press the `Publish` button.

### **Deploy the Web Application**&#x20;

To deploy the localized Web Application published in the previous section, please follow the same steps from Web Application installation steps.&#x20;

{% content-ref url="/pages/-MfmPIhkDbycaLUNMpvK" %}
[Web Application installation](/installation-and-country-localization/legacy-web-application-installation/web-application-installation.md)
{% endcontent-ref %}

#### **Deploy the Web Application as a new site**

To deploy the Web Application as a new site, follow the steps from the [Configure IIS](/installation-and-country-localization/legacy-web-application-installation/web-application-installation.md#configure-iis) section. You will need to change the binding ports or map different DNS as hostname.

#### **Deploy the Web Application to upgrade existing site**

To upgrade an existing Web Application site, replace existing files with the files from the published Web Application.&#x20;

Please make sure to:&#x20;

* not replace/remove Archive, Extracts, FromPhone, Images, and Workspace folders to prevent losing previous work
* [update IMISConnectionString](/installation-and-country-localization/legacy-web-application-installation/web-application-installation.md#edit-the-web-config) in Web.config file
* you don't need to edit permissions to Windows event logs again
