Custom domain
Add your own domain to any Lovable project.
Lovable makes it easy to publish your project to the web, either on a free lovable staging subdomain (e.g. yoursite.lovable.app) or your own custom domain. This guide walks you through how to connect your domain, troubleshoot common issues, and understand your options across different hosting providers.
Why use a custom domain
Connecting a custom domain (e.g., yourdomain.com) improves your site’s:
- Brand identity - looks more professional
- Search engine visibility - better SEO
- Memorability - easier to share and remember
Requirements to use a custom domain
Before you begin:
- You must be on a paid Lovable plan.
- You need to own a domain name. For easier setup, you can purchase one from providers like:
Lovable uses a tool called Entri to help you connect your domain quickly and securely. For some providers it offers an automatic DNS setup and www redirect.
Connect your domain (via Entri)
Open your Project Settings
Go to Project > Settings > Domains and click Connect Domain.
Continue Setup
Click Continue and enter your domain (e.g., yourdomain.com).
Select Your DNS Provider
Choose your domain provider from the list. If your provider isn’t listed, please see the steps listed further down on this page.
Authorize with Entri
Follow the prompts to log in to your provider and authorize access for Entri to update your DNS settings.
Close and Complete
Click Close Window, return to Lovable, and click Done.
DNS changes may take up to 48 hours to propagate, though most updates are live within a few hours.
All set! Once verified, your Lovable app will be live at your custom domain.
What if my provider isn’t listed?
If your provider isn’t supported by Entri, you can still connect your domain manually.
- Open your Project Settings and go to Project > Settings > Domains and click Connect Domain.
- Enter your domain and continue.
- When choosing a provider, scroll to the bottom and choose a manual setup. From there you’ll be able to copy the records to input directly into your domain registrar.
Hosting on Third-Party Platforms
You can also deploy your Lovable app using GitHub and host it on platforms like Netlify, Vercel, or using GitHub Pages with providers like Namecheap.
Netlify
- Transfer your project to GitHub.
- Import it into Netlify and deploy.
- Add a domain in Netlify by going to Domain Management.
- Follow DNS instructions in Netlify to connect your custom domain.
- Done! Your site redeploys automatically when changes are made in Lovable.
Vercel
- Create a GitHub repo from Lovable.
- Import into Vercel and assign your custom domain.
- Create a development branch for staging.
- Set Vercel to only deploy from the main branch.
- Switch in Lovable to the development branch. Now you can make changes without them directly going live to production.
- Deploy changes to production when ready by merging dev → main.
Namecheap + GitHub Pages
Use this guide made by one of our users, to get personalized step-by-step instructions on how to set it up.
FAQ
My custom domain is connected, but my site isn't live. What should I do?
My custom domain is connected, but my site isn't live. What should I do?
- Double-check your DNS settings by using for example dnschecker.org.
Sometimes DNS changes can take up to 48 hours to propagate. Correct DNS settings should be:
- A record pointing to 185.158.133.1 for @ as host name.
- A record pointing to 185.158.133.1 for www as host name.
- CNAME pointing to your root domain
- Clear your browser cache or test in an incognito window.
- Try removing and re-adding the domain in Project > Settings > Domains.
Can I buy a domain through Lovable?
Can I buy a domain through Lovable?
Lovable doesn’t sell domains directly, but have partnered with IONOS to facilitate the setup. Please click the “Buy Domain” button in the Project Settings > Domains to buy a domain through IONOS.
Will connecting a custom domain affect my SEO?
Will connecting a custom domain affect my SEO?
Yes, positively. A custom domain improves your site’s discoverability in search engines and makes it look more trustworthy to users.
Does Lovable provide an SSL certificate for my custom domain?
Does Lovable provide an SSL certificate for my custom domain?
Yes! When you connect a custom domain to your Lovable app, we automatically generate and install a SSL certificate for it. This ensures your site is served over HTTPS, keeping your visitors’ data secure and improving your site’s SEO ranking. If it hasn’t been issued after 48 hours, please reach out to support.
Can I connect a subdomain instead of a full domain?
Can I connect a subdomain instead of a full domain?
Yes! You can connect a subdomain (like blog.yourdomain.com or app.yourdomain.com) instead of the root domain. When entering your domain in the setup flow, just include the subdomain you want to use.
Can I connect multiple subdomains to my Lovable project?
Can I connect multiple subdomains to my Lovable project?
You can connect multiple subdomains, but each one must be added and configured individually. For example, if you want to use blog.yourdomain.com, shop.yourdomain.com, and app.yourdomain.com, you’ll need to repeat the connection process for each subdomain in Project > Settings > Domains.
How do I remove a custom domain?
How do I remove a custom domain?
- Go to Project > Settings > Domains
- Click the bin-icon next to your domain
- Your domain will be disconnected from the project. Make sure to clear DNS settings in your domain provider to completely clear the connection.