I have two domains (example.com and example.co.uk). The .com one is the "head" and has servers behind him. What I want to do is redirect all traffic from the .co.uk to the .com domain.
I looked at the internet and made a CNAME record in the DNS and the redirect work!
....but, I have SSL enabled on the .com version and normal HTTP is not allowed. The browser is complaining about the certificate as it should be (as the .co.uk is not the same as .com).
Question: How can I redirect the traffic from .co.uk to .com with a SSL on the .com domain?
P.S. I understand that one of the options is to redirect with a 301, but I would like to aviod that because I would need a server on the .co.uk for only redirects (not very cost efficient ) !!
I looked at the internet and made a CNAME record in the DNS and the redirect work!
part, that should create an alias, right? Can you elaborate a bit more?