Multiple domains to 1 droplet/webserver?
Hi guys! I have 3 domains that I want to use for my personal website. These are 3 different combinations of my name + last name and I want them all to point to my web server. Let’s say I want to use fullname.com for my website, but I also want to redirect requests from shortname.com and middlename.com to fullname.com.
On my account I’ve created all 3 domains to make them point to my droplet. But the problem is that, if I browse to shortname.com, I do not get redirected to fullname.com. How can I achieve these? I understand I cannot add a CNAME record as those map subdomains to hostname.
Any idea? Is there something am I missing?
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.×