Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a project going here that involves hosting my own Google maps. Whenever someone on my LAN makes a maps.google.com call, I want to be able to redirect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    1

    Redirect domain query to server on LAN


    Hi, I have a project going here that involves hosting my own Google maps. Whenever someone on my LAN makes a maps.google.com call, I want to be able to redirect that domain request to a server on my LAN. It must be client independent which means that the client still thinks that its getting the maps from google maps. I have a web service on my LAN that hosts all of the maps and is ready to take the requests. I was looking into squid and other web proxies but dont think it can do it. Any thoughts on how to accomplish this? DNS forwader perhaps? If so, which is the easiest tool to use and configure? Thanks!

  2. #2
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Hi -

    You can do this in couple of ways.

    1. With Squid or similar HTTP proxy. With such proxies, you can do,
    - URL redirection or
    - transparent URL rewrite

    2. Using DNS proxy
    - Have a DNS proxy/forwarder like dnsmasq. Have your own zone for maps.google.com and point it to your server.

    The best option is to have Squid in reverse proxy mode for maps.google.com.

    HTH!
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •