Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
one droplet multiple domains
I have a couple of domains (say a.com and b.com) and would like to host them on DO with one droplet.
I initially set up a.com using my droplet (which happened to be called a.com as well).
Everything went fine and I was able to set up mail etc. Brilliant!
The problem arises now that I’d like to move b.com to DO (and initially host it on the same droplet). As with a.com I changed the names servers (on my registrar) for b.com the DO’s name servers. All good so far - but when setting up the DNS entries the trouble started:
In DO’s DNS web tool I created initially another A record for b.com. pointing at the same IP - but the DO DNS complains the the domain name (b.com) is not a subdomain of the initial domain (a.com) - I guess fair enough.
So I create a C record *.b.com. -> a.com. - with the same result.
And this is where I became somewhat stuck. Any ideas, hints, etc please.
Thanks in advance for your time.
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.×