I have the domains mycompany.com & mycompany.com.co
Goal : I want all traffic to go only to www.mycompany.com
Doubts :
In which file should the redirect be located in the Virtualhost directly or in an .htaccess file?
If it is in the Virtualhost, I use the Myhost.com virtualhost and treat the variables of my main domain like mycompany.com.co www.mycompany.com.co like ServerAlias?
Or for each variation of my domain to which I want to direct traffic I must create your own Virtualhost axis: to address the traffic of mycompany.com.co mycompany.com mycompany.org I create a Virtualhost for everyone and I do 301 redirects directing the traffic to www.mycompany.com