Forum Moderators: phranque
I am renting a dedicated server running Apache with Plesk and my website by default exists both on [domain.com...] and [domain.com....]
I am trying to figure out a way to redirect [domain.com...] to [domain.com...] to try and avoid any duplicate content issues with search engines.
Please bear with me because I only have a limited understanding of apache, but what is the best way of doing this? - Is it best to use an .htaccess file or can it be done through the DNS?
At the moment in the DNS I have 2 ANAME records, one for domain.com and one for www.domain.com both pointing to the IP address for my server.
Any guidance would be appreciated..
This needs to be done on the server, since DNS is at the wrong "level" to do redirects.
Jim