I have installed Discourse on a separate Azure Virtual machine with 7GB Ram Server because on my main server i have apache with PHP and many more application, So now for e.g, my discourse is on community . example . com and main website is example2 . com.
How can i map Discourse website on example2.com Such as if open forum . example2 . com will eventually show community . example . com
I added CNAME record but it redirected me to community . example . com.