# Editing AppServerX.xml

`AppServerX.xml` controls most AppServer behavior.

The file is located at `/<WebSpellChecker_Installation_Path>/AppServer/AppServerX.xml`.

{% hint style="warning" %}
Always back up `AppServerX.xml` before editing.

If the XML becomes invalid, AppServer will not start.
{% endhint %}

### Workflow

{% stepper %}
{% step %}

#### Back up AppServerX.xml

Create a copy in the same folder.

* Example backup name: `AppServerX.xml.bak-YYYYMMDD-HHMMSS`

If anything goes wrong, restore the backup file and try again.
{% endstep %}

{% step %}

#### Edit AppServerX.xml

{% endstep %}

{% step %}

#### Restart AppServer to apply changes

Restart AppServer to apply changes in `AppServerX.xml`.

To restart: [stop](https://docs.wproofreader.com/v6.12.0/deployment/configuration/application-server/pages/IA2KNQLXDh85TwDivL4y#mainappservercommands-stopappserverwindowslinux2.stopappserver) the application, then [start](https://docs.wproofreader.com/v6.12.0/deployment/configuration/application-server/pages/IA2KNQLXDh85TwDivL4y#mainappservercommands-startappserverwindowslinux1.startappserver) it again.

Use [Main AppServer commands](/v6.12.0/deployment/configuration/application-server/main-appserver-commands.md).
{% endstep %}

{% step %}

#### Verify application operability

Use [health check](/v6.12.0/api-reference/auxiliary-api-commands/health-check.md) or [status](/v6.12.0/api-reference/auxiliary-api-commands/status-api.md) API to verify application operability after the change.

If application doesn't start after the change, see:

* [Cannot parse ini file "...\AppServer\AppServerX.xml". Reason: XmlDomParser. Invalid token \[..\]](/v6.12.0/troubleshooting/server-side-backend/cannot-parse-ini-file-...-appserver-appserverx.xml-.-reason-xmldomparser.-invalid-token-...md)
  {% endstep %}
  {% endstepper %}

### What to expect after restart

* If AppServer starts normally, your changes are applied.
* If AppServer doesn't start, revert to your backup.
* Then fix the XML and start the service again.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wproofreader.com/v6.12.0/deployment/configuration/application-server/editing-appserverx.xml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
