Address and domain
DevHub answers on the server’s IP address, each web project on its port. A project can also have its own domain name (project’s Network tab).
With a domain name: passkeys, one address per project (project.your-domain) and a certificate without warning. Your projects and settings are kept: DevHub restarts in a few seconds, then you create your passkey on the domain.
Move to a domain name
At your domain provider, create these two records:
| Type | Name | Value |
|---|---|---|
| A | dev.mondomaine.fr | localhost |
| A | *.dev.mondomaine.fr | localhost |
At Cloudflare, leave them “DNS only” (grey cloud). They take effect within seconds to minutes.
A Cloudflare API token with the permission Zone › DNS › Edit. DevHub finds the domain’s zone and creates (or fixes) both records, as “DNS only”. The token is used only for that: it isn’t kept anywhere. Create the token ↗
Moving to your domain
DevHub restarts on and requests its HTTPS certificate. This page takes you there as soon as it responds, with your code.