# Publishing a web application

A web application is like any other application that you can publish using the standard application publishing functionality. However, to simplify publishing of straight URL links to web applications, a separate publishing item type is available that allows you to accomplish this task with minimal number of steps.

To publish a web application:

1. In the RAS Console, select the **Publishing** category and then click the **Add** icon below the **Published Resources** tree (or right-click inside the **Published Resources** box and click **Add** in the context menu). This will launch the publishing wizard.

{% hint style="info" %}
**Note:** If the wizard has all options disabled, it means that there are no resources (servers) in the Farm from which publishing can be configured.
{% endhint %}

2. On the **Select Item Type** wizard page, select **Web Application** and click **Next.**
3. On the **Server Type** page, select the server type from which to publish and click **Next**.

{% hint style="info" %}
**Note:** If the wizard has all options disabled, it means that there are no resources (servers) in the Farm from which publishing can be configured.
{% endhint %}

{% hint style="info" %}
**Note:** Resources published from the local device load faster than resources published from other servers. This is possible because Parallels RAS does not have to connect to the servers via RDP.
{% endhint %}

4. On the **Publish From** page, select the server(s) to publish from. Note that if you have just one server or selected **Local Device** on the previous step, the **Publish From** page will not appear.&#x20;
5. On the **Web Application** wizard page that opens, specify the web application name, description, window state, and the URL. Select the **Force to use Internet Explorer** option if needed. To browse for a specific application icon, click **Change Icon**.&#x20;
6. (Local device publishing only) You can check that the application can be accessed by clicking the **Test** button and start an application as soon as a user logs in by selecting the **Start automatically when user logs on** option.
7. (VDI only) Select the **Persistent** option to make a guest VM persistent. For more info, see Persistent guest VMs.
8. (Remote PC only) Click the **\[...]** button in the **Remote PC Settings** section to select a Remote PC from which the application should be published. In the box that opens, double-click a PC to select it.
9. On the next page, specify the initial status of the resource. Choose from **Enabled** (end users can launch the resource), **Disabled** (the resource will not appear in Parallels Client), **In maintenance** (the resource will appear in Parallels Client but users will not be able to launch it). When a resource is in maintenance and a user tries to launch it, they will see a message. To customize the message, click the **Configure** button. For more info, see [**Site defaults (Publishing)**](/landing/ras-admin-guide/parallels-ras-21-administrators-guide/publishing/site-defaults-publishing.md).
10. When done, click **Finish** to publish the application.

When published, the web application will appear in the **Publishing** > **Published Resources list**, just like any other application.


---

# 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.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/publishing/publishing-a-web-application.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.
