I have a Domain, lets say
maindom.com, now I want to have another Domain, lets say
secdom.com to point to
maindom.com such that all the URL's leads to
maindom.com. I want to do this with the help of CNAME records only. I can use third-party services also.
secdom.com/rand123 Leads to
secdom.com/ano2484/anot Leads to
secdom.com/tesecqz?id=45 Leads to
I tried adding a CNAME record to
secdom.com with value
maindom.com, but just din't work.
Another point to note is that the IP of
maindom.com host other websites also and not just this one, this can be a problem I guess.
How to do this? Any help is appreciated.