Before you start using your own domains you should set up their A-records to the corresponding IP-addresses of virtual servers you've created on Digital Ocean. Without this set up you won't be able to use your domains.
This basic step by step guide can be applied for almost all domain register sites. Do the following:
- Enter the control panel of the service where you’ve bought your domains
- Find desired domain and find DNS parameters setting or something similar
- If you find preset A-records you should delete it
- Press add new record button
- Select A-record for the record type
- Type IP-address in the IP field. You can find the list of IPs of your servers under menu tab Website -> Servers.
- Type @ symbol in the Host field
- Then press Save button
You need to wait up to 4 hours (usually much less) for DNS being updated.
Here’s the example on how to do this in Namecheap.com