Report this

What is the reason for this report?

Setting up multiple domain aliases

Posted on January 10, 2014

I have five domain names, pointing to the same droplet . One domain is the primary one and the other four are just legacy aliases. There is also bunch of subdomains.

How do I set up the DNS system that any subdomain and legacy domain redirect correctly to the subdomain at the primary domain?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Not sure how you could automate the process. The only way I can think of is outlined, here: <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-a-host-name-with-digitalocean”>How To Set Up a Host Name with DigitalOcean</a>.

that’s not DNS, it’s apache/nginx.

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.