DNS

when customer go to www.google.com it redirect to google.com.br
how can redirect google.com to google.com.lb
plz

Google is redirecting using language preference of web browser (try to change it) and geolocation (from IP address of client). DNS would not help much - Google is using CDN with more IP that are language-independent.

Maybe you can set DNS for www.google.com to your web IP and there you have to prepare page with simple redirection to google.com.lb.

plz i need set up to redirect google.com.br to google.com.lb

I have temporary created virtual host on my server for google.com.br, redirecting to google.com.lb. Try this:

/ip dns static add name="google.com.br" address=174.132.114.72
/ip dns static add name="www.google.com.br" address=174.132.114.72

Is that what you need?
If yes, then you should create redirection like that on your server and set static DNS to your server’s IP.

The company that I deal with it take from Brazil and I do not want customers to show them google.com.br.

i want google.com.lb

…if user go to internet explorer and put www.google.com, it appers www.google.com.br directly.

Did you try the code I have posted yesterday? It should work if the users are using your DNS.

Really, the first time get an answer required

many thx in english…
شكرا" جزيلا" in arabic

OK, but it is not finished now - 174.132.114.72 is my web server on which I have prepared redirection for you temporary. If I delete it soon, it will not work anymore.

So you need to prepare virtual host for google.com.br and www.google.com.br on your web server. You may use this .htaccess file for redirection:

RewriteEngine on
RewriteRule ^(.*)$ http://www.google.com.lb/$1 [R,L]

When you are finished with that, you have to change my IP (174.132.114.72) to your one in static DNS records.