# Publish a finished site with Add Domain

Start with the owner's existing hosting project or published URL. For a local HTML build, follow https://www.adddomain.net/publish to publish the output folder. Record the host's project and URL. For updates, deploy to that project again.

1. Open the preview and a linked asset over HTTPS. Confirm the intended site loads.
2. If the owner wants a new address, request https://www.adddomain.net/api/check?name=YOUR-LABEL&tlds=com,si,ai&src=publish-skill. Show available names with dated registration and renewal estimates. Missing prices require a registrar check.
3. For the owner's selected name, request https://www.adddomain.net/api/buy-link?domain=YOUR-DOMAIN&src=publish-skill. Give the owner the returned URL and purchase-link disclosure. The registrar handles payment. If the owner already owns the domain, continue directly.
4. Connect the name in the same hosting project. Example CLI commands for a Netlify project (replace example.com and host as appropriate):

```sh
npx github:vitaliiphangan-code/adddomain-cli connect example.com --host netlify
npx github:vitaliiphangan-code/adddomain-cli verify example.com --host netlify
```

Use the current DNS values from the actual hosting project. Independently confirm each required public record and open the expected site at the custom HTTPS URL, including a real asset. Report any pending check explicitly.

Full agent skill: https://www.adddomain.net/skills/publish-site-custom-domain/SKILL.md
