Report this

What is the reason for this report?

How do I point multiple domain to a droplet's IP address?

Posted on March 7, 2019

How can I point www.foo.com and www.bar.com to a droplet’s ip address using records such as A and CNAME?

I have www.foo.com’s nameserver at the registrar changed to digitalocean’s NS; and the Apache vhost are configured appropriately to route the request. The problem is what setting do I change to get www.bar.com to the same droplet’s ip address where Apache’s vhost can route it?

See: https://i.imgur.com/TKKHpup.png

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.