1 website shared by 2 domains

we have registered 2 domain names.
1)Domain.my
2)Domain.com.my

We have one WordPress website using domain no. 1, while domain 2 is new and empty.
we would like to direct the traffic trying to reach domain no.2 end up landing on domain no.1

In this case, do I have to purchase a cloudflare plan for domain no.2 as well?
Currently besides registering domain name, I have done nothing about domain no.2 yet.
Can I know what should I do to achieve above result?

Thanks.

My 2c

At the Cloudflare (DNS provider) it should be enough to add a CNAME record with the desired host (domain.my) as the value.

Then you would need to adjust the web server config where the WP site is being hosted, such that it answers for both domains.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.