Adding a domain you own to your DigitalOcean account lets you manage the domain’s DNS records with the control panel and API. Domains you manage on DigitalOcean integrate with DigitalOcean Load Balancers and Spaces to streamline automatic SSL certificate management.
To set up a domain with DigitalOcean, you need to add it and any of its existing DNS records to the control panel, then delegate the domain by updating your registrar to use DigitalOcean’s name servers.}).
From the control panel, click Create in the top right, then click Domains/DNS.
In the Add a domain section, enter the domain name.
This is typically the apex domain, such as example.com
. To add subdomains, like www.example.com
or images.example.com
, create DNS records for them after you add the apex domain.
Click Add Domain. This takes you to the Create new record page and adds NS records for the domain on DigitalOcean’s name servers.
On the Create new record page, add any DNS records for the domain. For each record, select the record type, fill in the necessary data, and click Create Record.
Delegate your domain to DigitalOcean’s name servers through your registrar.