Hello,
Thanks for the reply. I hvae already followed everything in detail in that tutorial and also on all the different tutorials available on the internet.
The domains are purchased from the same hosting company so there is no issue of IP or A name records. Those domains are already pointing to the server IP.
The issue I am facing is in the Domain Mapping part.
I see these two in tools -> domain mapping in the site’s backend..
https://www.mappeddomain.com/
https://www.rootdomain.com/mappeddomain
The moment I set https://www.mappeddomain.com/ as the primary, I am taken to the root domain page, https://www.rootdomain.com/
Also when I go to https://www.mappeddomain.com, I am taken to https://www.rootdomain.com/