# Backend URL Configuration

## Overview

See [Backend URL Configuration](/paas/sdk/unified-vpn-sdk/setup/backend-url-configuration.md)

## Default URL Behavior

Out of the box, the SDK follows this URL precedence:

1. URLs passed by the user via the `hostURLs` config. These take the highest priority.
2. Default host URLs integrated into the SDK. If no URLs are specified via the config, the SDK falls back to these production URLs.

{% hint style="info" %}

* The exact default production URLs are not specified in the SDK documentation.
* The SDK does not include any predefined stage URLs - only production URLs. To use the SDK with a staging environment, you must specify the stage URLs via `ClientInfo` or `pango_default_urls.json`.
  {% endhint %}

## Customizing Backend URLs

You can override the default production URLs by adding `hostURLs` in the Configuration.

```swift
let hydraConfiguration = HydraConfiguration(
    // ...
    hostUrls: ["https://url-1.net", "https://url-2.com", "https://url-3.com"]
    // ...
)
```


---

# 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://pango.gitbook.io/paas/sdk/unified-vpn-sdk-for-apple/setup/backend-url-configuration.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.
