Setting up multiple domain aliases
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?