Attaching a domain to a web hosting now starts from the domains of its project. Choose Attach domain on the hosting's Domains tab and pick one, adding a subdomain in front if you like. Domains still being verified are listed with the way to finish them, and you can add a new one from the same page.
- Choose what it serves. By default a domain is served from
<domain>/public_html, and the folder is created for you. To serve a folder you already have, choose A folder already on the site and browse to it. Folders that another domain already serves are labelled with that domain. - DNS added for you. For a domain registered with or moved to Cosmoner, the DNS records are added for you, and the domain goes live once its certificate is issued. If the domain already has a record at that name, the attach stops and says which one, so nothing you set up is overwritten. For a domain managed elsewhere, the page shows the records to add at your DNS provider.
- Serve as domain in the file manager opens the same page with that folder chosen.
Only a domain your project has verified can be attached, so no other project can claim a name that is yours.
The MCP server can now list your hostings, their domains and folders, and attach a domain to a hosting for you.
See Domains for the details.