Introduction
This guide provides a step-by-step walkthrough of the process for configuring custom domains in Lazy AI. Follow the instructions below to set up and verify your custom domain, ensuring secure access with SSL certificates.
Step-by-Step Instructions
Access the Custom Domain Configuration:
Open your app and locate the "Configure Custom Domain" button. Click on it.
Enter Your Domain:
You will be prompted to enter the domain you wish to configure. For example, enter
example.com
and click "Connect."
Configure CNAME Record:
The system will provide you with a CNAME record that you need to add to your domain's DNS settings.
If you do not have access to the example domain, you can use a domain you own.
For instance, if you own a domain purchased from GoDaddy, navigate to the domain’s DNS settings and add the provided CNAME record. In this example, the CNAME should point to
lazycustomdomain.net
.
Verify Domain Setup:
After configuring the CNAME record, visit the domain URL to confirm it shows the app you configured.
To check the origin of the requests, you can view the logs of your app.
Enable HTTPS:
Initially, your site might show an insecure connection warning. To secure the site, click on the "Verify Domain" button.
This action will verify the domain and generate SSL certificates.
The verification process involves ensuring the domain redirects to the app and generating SSL certificates from Let's Encrypt.
This process typically takes about a minute.
Check SSL Certificate:
Once the verification is complete, refresh your domain page to see if the HTTPS warning has been resolved.
Verify the SSL certificate details. The certificate will be issued by Let's Encrypt and will be valid for three months.
Lazy AI will automatically renew certificates before they expire, typically one month before the expiration date.
Restart your app after everything is configured
Conclusion
By following these steps, you can configure and verify custom domains for your Lazy AI app, ensuring secure access with SSL certificates. If you encounter any issues or have further questions, feel free to reach out for support.
Important note:
The custom domain is controlled at the DNS level. If you need to make a change, for example where the domain points to, then you must go to the respective domain config (GoDaddy, Squarespace, etc.) and point it to somewhere else.