# 7. Create a Load Balancer

Navigate to **Kubernetes** -> **Services**, and select the `nginx` Service from the list.&#x20;

Select the **Load Balancers** tab and click **Configure Load Balancer**. The **Add Load Balancer Listener** pane displays. Complete the following fields:

* **Type**: `Application LB`&#x20;
* **Container port**: `80`&#x20;
* **External port**: `443`&#x20;
* **Visibility**: `Public`&#x20;
* **Application mode**: `Docker Mode`&#x20;
* **Health check**: `/`&#x20;
* **Backend protocol**: `HTTP`&#x20;
* **Certificates**: `WILDCARD.test04-apps.duplocloud.net`

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FkDlA0bbPyiWqxluYJH0q%2FLB_ws.png?alt=media&#x26;token=c39da69b-6f9b-45da-a21f-189863a8b1f2" alt=""><figcaption><p>The <strong>Add Load Balancer Listener</strong> pane</p></figcaption></figure></div>

Click **Add**. When the Load Balancer is complete, the Service displays a status of `Running` and the Load Balancer displays a status of `Ready`.

## Enable HTTP to HTTPs Redirect

Navigate to **Kubernetes** -> **Services** and select the `nginx` Service.

Click the **Load Balancers** tab. On the **Other Settings** card, click **Edit.** Enable the **HTTP to HTTPS redirect** option.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F9lZeXwB7bWrTmSDS3fiU%2Fred.png?alt=media&#x26;token=411a47c6-7bfd-40da-aa0c-e88b3049c6ed" alt=""><figcaption><p>The <strong>DNS Name</strong> and <strong>Other Settings</strong> cards in the <strong>Load Balancers</strong> tab</p></figcaption></figure>

You can find the created **DNS Name** displayed on this page, CNAME'd to your Load Balancer name. Copy the URL in the **DNS Name** card and paste into your browser. You should see the NGINX welcome page "**Welcome to nginx!**" or similar. It may take a few minutes for the application to start.
