# Configure a domain and SSL certificate

Source: https://skro.eu/docs/deploy-website/how-to-setup-domain-to-get-ssl-certificate

Add a website domain in Skro, configure DNS records, and verify the domain for an SSL certificate.

<Steps>

## Step 1. Add your domain [#step-1-add-your-domain]

1. Go to the **Websites** and click **Add**.

![website domain 1](/images/docs/web-domain-1.png)

2. Select your workspace and AWS integration, and type your domain name what you want to use your website deployment. Click **Next**. (Loading might take up to 10 sec). In my example I'm using subdomain.

![website domain 2](/images/docs/web-domain-2.png)

2.1.To automatically verify your domain ownership, add your domain provider integration. This will allow Skro to generate a CNAME record for seamless domain verification.

Automated verification are supported with **AWS (Route53)**, **Cloudflare** and **Namesilo**.

- [Cloudflare integration](/docs/deploy-website/cloudflare-integration)

- [Namesilo integration](/docs/deploy-website/namesilo-integration)

![website domain 2](/images/docs/web-domain-2.1.png)

3. On the next step you will get CNAME record **Name** and **Value** to verify your domain ownership.

![website domain 3](/images/docs/web-domain-3.png)

## Step 2. Add CNAME record. [#step-2-add-cname-record]

1. In our example we use **Namecheap**. Log in to **Namecheap** account.

2. Select your domain and click **Manage DNS** and click **Add new record**.

![website domain 3-1](/images/docs/web-domain-3-1.png)

**Host:** is **_f233c835f3ade019ae37fs7b8be22f91.cloud**. As you see I do not add **.rtx-tires.com** at the end because Namecheap will add that automatically.

**Value:** is **_0a2c5474061306a110049876b4afa4f7.sdzjtdhdhz.acm-validations.aws.**

![website domain 3-2](/images/docs/web-domain-3-2.png)

## Step 3. Verify domain ownership and generate free SSL cert. [#step-3-verify-domain-ownership-and-generate-free-ssl-cert]

1. Go back to Skro and click **Close**.

2. As you see your domain is in **PENDING_VALIDATION** status. DNS changes will take some time to update and generate SSL for your domain. Usually it will take up to 5-15 minutes, but it can take up to 48 hours.

![website domain 4](/images/docs/web-domain-4.png)

3. After 5 minutes, you can select your domain and click **Check Status** to see if your domain is verified and SSL cert issued.

![website domain 5](/images/docs/web-domain-5.png)

Domain is ready for deployment.

<Card title="Get started with website deployment setup" href="/docs/deploy-website/how-to-deploy-website" />

</Steps>

## Related guides [#related-guides]

<Cards>

<Card title="Website deployment on AWS" href="/docs/deploy-website/about-aws-deployment" />

<Card title="Deploy a website" href="/docs/deploy-website/how-to-deploy-website" />

</Cards>
