> For the complete documentation index, see [llms.txt](https://docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akto.io/getting-started/quick-start-with-akto-self-hosted/aws-deploy/aws-ssl.md).

# Custom subdomain on Akto on AWS

[Akto](https://www.akto.io/) creates a load balancer for your akto dashboard. You can put this dashboard behind your organization's subdomain for easier access across teams. Moreover, adding SSL certificate make the dashboard more secure.

## To configure HTTPS and add SSL certificate to akto dashboard load-balancer

1. Navigate to AWS dashboard > EC2 > load balancers and select the akto dashboard load balancer.

<figure><img src="/files/wMHxymLWQtxVWWpJidz4" alt="Navigate to load balancers and select akto dashboard load balancer"><figcaption></figcaption></figure>

2. Go to `Listeners and rules` and select the `HTTP:80` rule.

<figure><img src="/files/jU52ndu06WuTzwTGXIjx" alt="Select HTTP 80 rule"><figcaption></figcaption></figure>

3. Click on `Edit listener`

<figure><img src="/files/0mJfRn6mMtfXRp8GB9eK" alt="Click on edit listener"><figcaption></figcaption></figure>

4. Change protocol from `HTTP` to `HTTPS`.

<figure><img src="/files/Pr1oqs6mGL9YcMjxDaBe" alt="Change protocol to HTTPS"><figcaption></figcaption></figure>

5. Add your SSL certificate to the listener.

<figure><img src="/files/pfEcX54ZJ1lULlyUhI3N" alt="Add SSL cert"><figcaption></figcaption></figure>

6. Click on save changes. The protocol should be changed by this. To make it reachable by the load balancer we would edit its security group.

<figure><img src="/files/eRHs1s2hUOLPK1ey0g6L" alt="Save changes"><figcaption></figcaption></figure>

7. On the same page, click on security and click on the associated security group.

<figure><img src="/files/BwqFO506DvzxGAGl42Bx" alt="Go to the associated security group"><figcaption></figcaption></figure>

8. Click on edit inbound rules.

<figure><img src="/files/lhGZiG2MyFsbUQFGHfGn" alt="Edit inbound rules"><figcaption></figcaption></figure>

9. Change the type of protocol from HTTP to HTTPS and save the inbound rule of the security group.

<figure><img src="/files/GLYsHyQcHtlBbhQiWAwc" alt="Set type to HTTPS"><figcaption></figcaption></figure>

10. You should now be able to access akto dashboard's load-balancer IP on HTTPS and it should give an invalid SSL certificate error, because the certificate belongs to your organization and would have been mapped to your organization's domain name.

<figure><img src="/files/tNcLujvaBtwgSM4n2ABx" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/X6xBffYf80lokJTmZ3ZC" alt=""><figcaption></figcaption></figure>

## To configure custom subdomain for akto dashboard load-balancer

1. Navigate to Route 53 on the AWS dashboard. Go to hosted zones.

<figure><img src="/files/ZEinYp9Lb2ImFiqSI7r1" alt="Go to route 53"><figcaption></figcaption></figure>

2. Select the hosted zone in which you want to route akto dashboard and click on create record.

<figure><img src="/files/D4Hi5E89wUuIWLf9SblF" alt="Create a new record in a hosted zone"><figcaption></figcaption></figure>

3. Select the record name as `akto` and record type as `A - Routes traffic to an IPv4 address and some AWS resources`. Then toggle the alias button.

<figure><img src="/files/6zHsNMsrqOpRlfIEGVEd" alt=""><figcaption></figcaption></figure>

4. Select on `Application and classic load balancer` in the endpoints menu.

<figure><img src="/files/3PCmzxayzknprgrQOHd5" alt="Select on application and classic load balancer"><figcaption></figcaption></figure>

5. Select the region in which the load balancer is deployed.

<figure><img src="/files/X7KswBXRI3jub8lQu72k" alt="Select region"><figcaption></figcaption></figure>

6. Choose akto dashboard's load balancer in the menu and click on `Create records`.

<figure><img src="/files/zdLexH3KXVn8uFXEp2pV" alt="choose your LB and create records"><figcaption></figcaption></figure>

Now, you have added a custom subdomain and SSL certificate to your akto deployment on AWS.
