# Origin

The **Settings > Origin** section is dedicated to administering some of the essential service settings.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2Fg9C9FlkxpGUfweQSjino%2Fgeneral%20screen2.png?alt=media&#x26;token=79e322de-a79f-4cbe-b857-74a473cec630" alt=""><figcaption></figcaption></figure>

Let’s go through the presented configuration panes one by one:

* [Website’s URL](#h.rdun2txe55mu)
* [Load Balancing Configuration](#h.tnl7paikp799)
* [IPv4 or Hostname Configuration](#h.zcwqdyv1ywgg)
* [Custom Host Header](#custom-host-header)
* [Redirection](#h.p19ne594izj2)
* [Site’s Edge Address](#h.fd392bgcxelo)

{% hint style="warning" %}
Please **Note** that when you modify any of the settings within this section, you need to click the ***Save*** button at the bottom of the page for the changes to take effect.
{% endhint %}

### Website’s URL <a href="#h.rdun2txe55mu" id="h.rdun2txe55mu"></a>

In this section, you can review the URL associated with your service.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FSWEx0TCwZskAV5wQyKdm%2Fweb%20adress%20pane.png?alt=media&#x26;token=12af8451-ee6d-488b-8c83-d9b1c63eb10e" alt=""><figcaption></figcaption></figure>

> In the upcoming releases, this field will be made editable, enabling you to change your service's URL at any time. Currently, to perform this operation, you need to submit a request to the Edgeport support team through ***<support@edgport.com>***.

### Load Balancing Configuration <a href="#h.tnl7paikp799" id="h.tnl7paikp799"></a>

With this pane, you have the capability to set up load balancing for your service.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FPmotNXYdG3ybH77hKVFp%2Fimage8.png?alt=media" alt=""><figcaption></figcaption></figure>

This option is disabled by default, but you can activate it using the ***Disable Load Balancing*** toggle button.

For your choice, there are two available load balancing options:

* **Round Robin** - in this case, the requests’ distribution between the origin servers is determined by the [round-robin](https://www.google.com/url?q=https://en.wikipedia.org/wiki/Round-robin_DNS\&sa=D\&source=editors\&ust=1697227332225497\&usg=AOvVaw0ozoUsmjDuA_jcoQwRMiep) algorithm;
* **Primary/Failover** - by default, all requests are directed to the primary server. If the primary server becomes unavailable, the requests will be routed to the failover server(s). The primary server is always the one you added first.

### IPv4 or Hostname Configuration <a href="#h.zcwqdyv1ywgg" id="h.zcwqdyv1ywgg"></a>

This section provides you with the possibility to add public IPv4 addresses for your origin servers.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FWtOod57r18E68uHHrIag%2Fimage7.png?alt=media" alt=""><figcaption></figcaption></figure>

To do so, select the ***Add IPv4*** line and enter the required public IP address in the empty field that appeared.&#x20;

Please **keep in mind** that it may take up to 30 minutes for the newly added address to fully propagate across all Edge network PoPs. No further configurations are necessary.&#x20;

{% hint style="success" %}
You are allowed to add up to 10 origin server IPs.
{% endhint %}

For the already added IPs, you are able to perform the following actions:

* ***edit*** the address by clicking the pencil ![](https://lh6.googleusercontent.com/IFWAmcNuAttcnU6p8LhlfSD56ULQVYZR4LNo9GzyIUwyatbnz4ZLOGObOgVckEsruHIBZHHCMNskMmI5gO3k11YtCJeqIyV4_d6y35YUDYEm94ZMk94SpDYGu6KMUW23NtPe89xJN0Qpcq-la5DCVHY) icon next to the corresponding input field;
* ***remove*** the address (except for the primary one, which was added first) by selecting the cross ![](https://lh5.googleusercontent.com/tfyg8nhc_L79kZ87wASnJhYFJWtr8Nzj2ZUlC3war6drDJu-xylbbrUoK7JR2bIS2BrQYXXcfoDbBgbz72D5RBvmOl9UkGIJQuW_5OLqbNSyuKaZUB5U_UFJmq_sjPim07ICLNWSDUj_6M2gv3PtwnQ) icon next to it.

### Custom Host Header

This configuration pane enables you to set the custom value for the Host header of all incoming requests to your origin server. This feature can be particularly useful if multiple virtual hostnames are hosted at a single point.

<figure><img src="https://lh7-us.googleusercontent.com/etmAouYM6dI-jzxoa-nrk0hZuWb3TSzNu7DTPcF6vfLBexrM7WvrIRqLzTRel3j4AkpLdtFvnIC05HtcPbAtKcEMpPnLU_3l7iGKdV4uucMCa2BQDexXy_11A32zav4evbKAEqHwCRBTAg78MlGwMV8" alt=""><figcaption></figcaption></figure>

By default, the included toggle is activated, with the host request header being automatically determined based on the requested host URL.&#x20;

To set a custom host header, click on the ***pencil*** ![](https://lh6.googleusercontent.com/IFWAmcNuAttcnU6p8LhlfSD56ULQVYZR4LNo9GzyIUwyatbnz4ZLOGObOgVckEsruHIBZHHCMNskMmI5gO3k11YtCJeqIyV4_d6y35YUDYEm94ZMk94SpDYGu6KMUW23NtPe89xJN0Qpcq-la5DCVHY) ***icon*** within the corresponding field and specify the desired value.&#x20;

If disabling this toggle, the default host header (based on the requested host URL) will be applied to all requests automatically.

{% hint style="warning" %}
After you **Save** the changes with the same-named button below, expect a 10-20 minute delay before they are fully propagated.
{% endhint %}

### Redirection <a href="#h.p19ne594izj2" id="h.p19ne594izj2"></a>

The position of the toggle switch here determines whether the Edge server will honor the URL redirect included in the Location response header, received from your origin server, when evaluating the optimal set of ADN gateway servers for your custom origin configuration.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FwNO677z7HKxwUGNscQvV%2Fimage4.png?alt=media" alt=""><figcaption></figcaption></figure>

This option is enabled by default; however, you can turn it off by clicking the ***Follow Redirects*** toggle upon the necessity.

### Site’s Edge Address <a href="#h.fd392bgcxelo" id="h.fd392bgcxelo"></a>

Within this pane, you can find the unique Edge address of your project, which was automatically generated and assigned to your service upon its [addition](https://docs.edgeport.com/product-docs/start-guide/add-a-new-service) to the platform.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FlegJUamIWzShR6PSRpvs%2Fimage6.png?alt=media" alt=""><figcaption></figcaption></figure>

You can use this URL in your DNS configuration, or when creating CNAME or ANAME records for your custom sub-domain(s) that should point to the Edge address.
