I have to redirect users of my website according to the domain of his computer. If his position is domain "A" he is redirected to the website A. If his position is domain "B" he is redirected to the website B.
I searched everywhere, I do not find how to do it. I can not go through ActiveX for security reasons.
I tried to use the php function gethostbyaddr but it return only my ip when i connect to the site.
Someone have an idea ?
Thanks !