Custom Domain Setup
Connect a domain you already purchased and manage, either an apex domain or a subdomain.
Ploy supports custom domains for all published sites. You can connect an apex domain (e.g. yourdomain.com) or a subdomain (e.g. docs.yourdomain.com). Ploy handles SSL certificate provisioning automatically.
Ploy does not need to become your domain's DNS manager or take over your nameservers. You stay in full control of your DNS. All that's required is pointing your A and CNAME records to the values Ploy provides. Everything else (SSL provisioning, hostname routing) happens automatically once those records are in place.
After you add the records, Ploy keeps checking for them and connects the domain on its own. You can close the setup anytime. Setup keeps going, and the Domains page shows where it is. If you need more time to buy a domain or update your DNS records, select Finish setup on the domain's row when you come back.
Plan allowances
Custom domain allowances are counted per workspace, by domain family:
- Free: 0 custom domain families
- Starter: 1 custom domain family
- Pro: 5 custom domain families
- Enterprise: unlimited custom domain families
A domain family is one registrable apex. The apex, www, and all of its subdomains count together as one family. A second registrable apex uses another allowance. Removing every hostname in a family frees that allowance.
Each workspace has its own allowance, even when one organization plan covers several workspaces. For example, on Starter, two workspaces in the same organization can each connect one domain family.
If you can't add another domain
When you add a domain that your plan can't take, Ploy shows why.
- If your plan does not include custom domains, upgrade to connect the domain yourself, or book a call for assisted setup.
- If you have used all your domains, remove one you no longer use, or upgrade to a plan with more.
- On Enterprise, book a walkthrough with our sales team from the message, or email sales@ploy.ai, for a larger allowance.
Adding a subdomain of a domain family you already have does not use another allowance.
See the pricing page for current plans.
Prefer the command line? Use ploy domain list|add|status|remove against the site selected by ploy site use. See Custom domains in the Ploy CLI for the complete workflow.
If for compliance or security reasons you must retain full control of your domain throughout the setup process, contact sales@ploy.ai for a pre-implementation consult before getting started.
Desktop browsers recommended. The domain setup flow is designed for macOS or Windows desktop browsers. You'll be managing multiple tabs and auth sessions across your DNS provider, Ploy dashboard, and possibly other cloud services. iPads and tablets may work but are not officially supported for this flow.
The Domains page
Open your site and select Domains in the site menu. Each domain has one row with one status, such as Connecting, Live, or Misconfigured. An apex and its www pair share a row, with a note such as "www.example.com redirects here". The primary domain shows a Primary badge.

Select a row to open the domain's page. It shows:
- The domain's status and what it means, with Visit to open the live site.
- A ⋯ menu with Set as primary domain, Move to another site, and Remove domain.
- Path routing, where you choose which site shows each page of the domain. See Path routing.
- DNS records, the records the domain needs at your DNS provider.

- Select Add domain to open the setup.
- A domain whose setup isn't finished shows Finish setup on its row. Select it to pick up where you left off.
- Owners, admins, and members can add, buy, and remove domains in the workspaces they can access.
- Publish the site to production first. If you haven't, the setup opens on Publish your site first.
SaaS Providers with Per-Customer Sub-Domains
Add a domain
- Open your site and select Domains.
- Select Add domain.
- Choose how you want to set it up:
- Set it up with Ploy (recommended). Ploy connects the domain in a chat and checks for broken links, missing redirects, and SEO issues before it goes live. This uses credits.
- Set it up yourself. Add the domain and its DNS records in the dialog, step by step.

You can also name the domain in a chat. Ploy's Agent shows a setup card with the same steps, and confirms with you before it removes or moves a domain.
Set it up yourself
- Enter your domain and select Continue.

- If nobody owns the domain yet, you can buy it. See Buy a domain.
- If the domain already shows another site, choose what visitors see once this site takes over:
- This site, on every page. Whatever the domain shows now is replaced.
- Keep some pages on another site. For pages you haven't moved yet, like
/blog. - Serve only some pages from this site. Everything else shows the other site.
acme.webflow.io, and the paths. You can change this later in Path routing. If the domain doesn't show a site yet, every page goes to this site. - Connect the domain:
- If Ploy detects your DNS provider and it supports one-click setup through Entri (where available), select Connect with your provider. Sign in and approve the changes if asked. Ploy adds the records and checks them.
- Otherwise, or if you prefer, select Add the records yourself. Add each record at your DNS provider with the copy buttons, set each one to DNS only, then select Check records. Ploy checks again every 30 seconds, and your progress is saved.

- Ploy shows the progress: Check DNS records, Issue SSL certificate, then Go live. You can close the dialog anytime. Setup keeps going.

To manage a domain you already connected, select its row on the Domains page.
Manual DNS Setup
If automatic setup isn't available for your registrar, configure DNS manually. Use the DNS Setup Reference to generate the exact records for your domain.
For advanced configuration options, including reverse proxy setup, subdomain routing, and fallback origins, see the Advanced Setup guide.
Most companies transfer their domain to Ploy without any issues or downtime. This is the normal path.
Need near-zero downtime?
Add only the _acme-challenge records first. They don't affect live traffic, and your SSL certificate is issued before you update your A and CNAME records. Follow Phased Rollout for the steps. Moving an existing site? Add the _acme-challenge records early so SSL is ready before traffic moves. See the Migration Readiness Checklist.
Quick links for common DNS providers
DNS configuration varies by your DNS provider. Your DNS provider is often where you registered your domain, but may not necessarily be your current DNS provider (example). During Custom Domains setup in Ploy, we will auto-detect well known DNS providers for your domain and help you with automated setup where available. Here are quick links for common DNS providers:
- Cloudflare: Manage DNS records in the Cloudflare dashboard. Make sure to set proxy status to "DNS only" (gray cloud).
- GoDaddy: Add records in the DNS Management section of your domain settings.
- Namecheap: Navigate to Manage DNS in your Domain List management panel.
- Porkbun: Edit DNS records from the domain management page.
- AWS Route 53: Create a new record set in the hosted zone for your domain.
- Google Cloud Run DNS: Add a resource record set on your Cloud DNS zones page.
- SiteGround: Manage DNS records from your SiteGround account.
SSL Certificates
SSL certificates are provisioned automatically after DNS verification of the _acme-challenge records.

Tip: You don't need to keep the setup open.
- Setup keeps going in the background after you close it. The domain's row shows Connecting until it is Live.
- Waiting for DNS can take up to 24 hours. Once DNS is verified, issuing the SSL certificate usually takes a few minutes.
- If the status doesn't change, open the domain and select Check again.
If SSL isn't issuing after your DNS has verified, work through the following:
- Still seeing a browser SSL warning after Ploy shows the certificate as issued? Your local machine or browser may be caching the old state. See the Troubleshooting section below for DNS cache-busting steps, including how to flush your browser, OS, and Cloudflare's public DNS cache.
- Wait for the certificate after DNS confirms before troubleshooting further. Certificate issuance is automatic but not instant. If you want to accelerate verification, use the Cloudflare Purge Cache tactic in the Troubleshooting section below to flush stale DNS from Cloudflare's resolvers first.
- Dashboard shows issued but browser still warns? Use the cache-busting tactics in the Troubleshooting section below (browser DNS flush, VPN, or Cloudflare Browser Run) to verify. Your local cache may be serving the old state.
- Cloudflare users: set your proxy status to "DNS only" during setup. "Flexible" SSL mode causes conflicts.
- CAA records: if your domain uses CAA (Certification Authority Authorization) records, make sure they allow Google Trust Services, which is the default certificate issuer for the Ploy platform.
Choose a primary domain
When a site has more than one domain, such as yourdomain.com and www.yourdomain.com, choose one as the primary.
- Open your site, then Domains, and select a Live domain.
- From the ⋯ menu, select Set as primary domain. Ploy lists the domains that will redirect to it before you confirm.

After you set a primary:
- Every other domain on the site then redirects (308) to the primary, and their path routing stops applying.
- To undo this, select Clear primary domain from the same menu.
- Publish again after you change the primary so your canonical tags and sitemap use it.
- Removing the primary domain clears it first, so the other domains stop redirecting to it.
Troubleshooting
- Ploy shows "Live" but you still see old content. This is a stubborn one, and it's not your fault. DNS changes involve several independent caching layers, each with its own TTL: your OS resolver, your browser, your ISP, and Cloudflare's own global network. Your local machine or browser may still be serving cached records even after Ploy confirms propagation and the rest of the world can reach your site.
- Verify from a clean, remote perspective: use Cloudflare Browser Run's Live Session, a cloud-hosted browser that resolves DNS independently of your Mac or local network cache, so you can confirm what the rest of the world actually sees.
- Or use a desktop VPN: enabling a desktop VPN can also route your DNS queries through a different resolver and effectively bust out of your local cache without running any commands.
Don't roll back your DNS
This is one of the most common mistakes during domain setup. If Ploy shows your domain as "Live," your DNS update is working. The world can already reach your site. Seeing old content locally is almost always a cache issue, not a DNS problem. Rolling back your DNS records at this point will undo a successful setup and restart the clock on propagation. If you're seeing a Cloudflare error page instead, check the 1001, 1034, and other 1xxx error entries below before making any DNS changes.
- Clear cached DNS on your own machine:
- Chrome / Edge / Brave and most Chromium browsers: Navigate to
chrome://net-internals/#dnsand click Clear host cache. This clears the browser's own DNS cache independently of your OS. - macOS: If you're comfortable running terminal commands, flush your local DNS cache:
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder - Windows: Open Command Prompt as Administrator and run:
ipconfig /flushdns - Linux: Depends on your distro's DNS resolver. Common options:
sudo systemd-resolve --flush-caches(systemd) orsudo service nscd restart(nscd).
- Chrome / Edge / Brave and most Chromium browsers: Navigate to
- Domain shows Misconfigured. Ploy's latest DNS lookup found a value that does not point to Ploy, or the domain could not finish connecting. The domain's page shows what Ploy found. Right after a DNS change, lookups can switch between old and new values for a while.
- If you changed DNS recently and your site is live and working, you can ignore this message.
- If you rolled back your DNS on purpose, you can remove the domain from the ⋯ menu.
- Otherwise, check again later.
- DNS changes not reflecting after saving. Ploy uses Cloudflare's DNS resolvers, so stale cached records can prevent your domain from connecting even after a correct DNS update. Only after you have saved the DNS update, purge Cloudflare's public DNS cache:
- Go to one.one.one.one/purge-cache.
- Enter your root domain (e.g.
your-domain.com) with Record Type A and click Purge Cache. - Repeat with your www subdomain (e.g.
www.your-domain.com) and Record Type CNAME.
- Tip: switch your system DNS to 1.1.1.1. For the most consistent view with Ploy's infrastructure, configure your device to use Cloudflare's
1.1.1.1resolver. This means your machine resolves DNS the same way Ploy does, eliminating resolver-based discrepancies: macOS, Windows, Linux, Router (whole network).
- Cloudflare "1001" error page. Right after you point your records at Ploy, Cloudflare can show this page while it checks that you own the hostname. Ploy asks Cloudflare to check again as soon as it sees your records on Ploy, so the page usually clears on its own.
- Open the domain's page and select Check again.
- Don't roll back your DNS unless the error keeps showing.
- If the domain shows Not connected, select Finish setup to finish the setup.
- Cloudflare "1034" error page. Your domain may be hosted by another provider that also uses the Cloudflare platform. That provider's hostname entry takes priority and can block the transition to Ploy's DNS.
- Common platforms that run on Cloudflare include BigCommerce, HubSpot, Kinsta, Render, Salesforce Commerce Cloud, Shopify, Webflow, and WP Engine. See the full list in Cloudflare's provider guides.
- Check your prior hosting provider's dashboard and disconnect or remove the domain from their management before re-verifying with Ploy.
- Moving from Shopify? See Use your Shopify domain with Ploy.
- Other Cloudflare 1xxx errors: If you're seeing a Cloudflare error page not covered above, consult the Cloudflare 1xxx Errors guide for per-error troubleshooting hints.
- Domain stuck on "Connecting". Waiting for DNS can take up to 24 hours. Before assuming it's a propagation delay, double-check the most common mistakes:
- Adding the wrong record type (e.g. an A record where a CNAME is required).
- A typo in the value.
- Forgetting to click Save in your DNS provider's dashboard.
- Verify your records match exactly what's shown in the Ploy dashboard. You can check live propagation status with tools like whatsmydns.net, nslookup.io, Google Admin Toolbox Dig, or dnschecker.org.
- SSL not issuing: See the SSL Certificates section above for a full checklist: propagation wait times, DNS record requirements, Cloudflare proxy settings, and CAA record configuration.
- Moving a domain from Webflow (Cloudflare Orange-to-Orange): If your domain was previously hosted on Webflow and both Webflow and your new provider use Cloudflare, you may hit an Orange-to-Orange (O2O) conflict that causes redirect loops or SSL errors. See Webflow's O2O guide for details.
Moving from Webflow?
Remove your domain from Site settings > Publishing > Production at least 5 minutes before verifying it with your new provider. This prevents an Orange-to-Orange conflict where Webflow's Cloudflare hostname entry blocks the transition.
Source: Webflow Help: Using Cloudflare Orange-to-Orange (O2O) with Webflow
- Redirect loops: If using Cloudflare with "Flexible" SSL mode, switch to "Full (strict)" or "DNS only" proxy mode.
- "Too many redirects" error: Disable any redirect rules at your registrar/CDN that conflict with Ploy's hosting.
- Connected to the wrong site: If the destination site is in the same organization, use the direct move flow instead of removing the domain. See Moving a connected custom domain to another site.
Moving a connected custom domain to another site
You can move a connected custom domain directly from one Ploy site to another without disconnecting it first. The direct move preserves the existing SSL certificate and avoids the downtime and extra SSL setup that can come with removing and reconnecting the domain.
Before you start
- The domain must already be connected to the source site.
- The destination site must be published.
- Both sites must belong to the same organization.
- You must have access to both the source and destination workspaces. Owners, admins, and members can move a domain.
- The destination workspace must include custom domains.
Move the domain
- Open Sites in the left navigation.
- Select the source workspace and site.
- Open Domains and select the connected domain.
- From the ⋯ menu, select Move to another site.
- Choose an eligible published destination site in the same organization.
- Select Move domain and complete the passkey confirmation if Ploy asks for it.
- Open the destination site, then Domains. Verify that the domain appears there and serves the destination site.
You can also start from the destination site. Select Add domain and enter the domain. If it's on another site in the same workspace, Ploy offers Move here. No DNS changes are needed, because the domain already points at Ploy.
Do not remove the domain first
Removing the domain can interrupt traffic and may require Ploy to set up SSL again. Use Move to another site whenever the destination is eligible.
If the connected domain is an apex domain and it has a connected www companion, Ploy moves both hostnames together.
Cancel a Domain Setup
If you started a domain setup but haven't finished adding DNS records, the domain shows Not connected with Finish setup. To cancel it instead, open the domain and select Remove domain from the ⋯ menu. This removes the pending hostname without affecting your live site.

Remove a Domain
To remove a custom domain from your site:
- Go to Sites in the nav bar and select your site.
- Open Domains and select the domain.
- From the ⋯ menu, select Remove domain, then confirm.

This action causes immediate downtime. Removing a domain disconnects Ploy's hosting records instantly, so the domain will stop serving your site as soon as it is removed.
- Remove domain removes both the apex and its
wwwpair, and deletes the domain's path routing. To keep only one of them, use the Universal SSL notice on the domain's page if it appears (see SaaS providers), or contact support@ploy.ai. - Ploy doesn't delete DNS records at your provider, even ones it added for you. Clean them up there if you no longer need them.
Removing a domain immediately stops Ploy from routing traffic for it. If you plan to point the domain elsewhere, make sure your DNS records are updated away from Ploy's values before or immediately after removal to minimize downtime.
Migrating from Vercel or Next.js
A Next.js rewrites() rule that forwards a path to another origin becomes a path in Ploy's Path routing. Match the incoming path with pathPrefix or pattern, then use an action with type: "proxy", the upstream originUrl, and the appropriate preserveHostHeader setting.
Pages Ploy serves receive the visitor's country in the cf-ipcountry header. See Personalize by Visitor Location. Requests Ploy forwards to another site through Path routing do not include it. If your Next.js application branches on x-vercel-ip-country, update it before moving traffic.
Running Ploy alongside another site?
If you already have a site on Webflow (or another host) and want to serve Ploy-built pages at specific paths on the same domain, see Path routing. Ploy acts as a reverse proxy, serving your pages directly and forwarding everything else to your existing site.
What's Next?
- Go live: Follow the Publishing & Deploys guide to publish your site.
- Hybrid setup: Use Path routing to serve Ploy pages alongside an existing site.
- Troubleshoot: Check the FAQ & Troubleshooting page for more common issues.
- Need help? Email support@ploy.ai for DNS and domain issues.