Skip to main content

Set Up a Custom Domain

To map your custom domain to the services running on your DigitalOcean Droplet (e.g., backend, auth, app, socket, proxy), you’ll need to create five separate A records, each pointing to your Droplet’s public IP address.

Example DNS records:

TypeName (Host)Value (Points to)TTL
AbackendYOUR_PUBLIC_IP3600 or Auto
AauthYOUR_PUBLIC_IP3600 or Auto
AappYOUR_PUBLIC_IP3600 or Auto
AsocketYOUR_PUBLIC_IP3600 or Auto
AproxyYOUR_PUBLIC_IP3600 or Auto

Replace YOUR_PUBLIC_IP with the actual public IP address of your DigitalOcean Droplet.

Each of these subdomains (e.g., backend.yourdomain.com, auth.yourdomain.com, etc.) will route traffic to the respective services hosted on your server.

Note: DNS changes may take a few minutes to several hours to propagate.