+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
How do you do....it? Thread, Redirect Google? in Technical; Is there a way in policies to redirect google to that of our schools intranet homepage search engine (as this ...
  1. #1
    KWestos's Avatar
    Join Date
    Jan 2008
    Posts
    520
    Thank Post
    91
    Thanked 54 Times in 45 Posts
    Rep Power
    25

    Redirect Google?

    Is there a way in policies to redirect google to that of our schools intranet homepage search engine (as this generates revenue for us).

    What I want is when a pupil types in google it redirects to our search page (simple).

    Is it easy to do?

    Thanks

  2. #2
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    187
    Thank Post
    28
    Thanked 93 Times in 53 Posts
    Rep Power
    32
    What are you using for your web proxy? This is very easy to achieve using squid and a little bit of perl scripting.

    Iain.

  3. #3
    KWestos's Avatar
    Join Date
    Jan 2008
    Posts
    520
    Thank Post
    91
    Thanked 54 Times in 45 Posts
    Rep Power
    25
    Hi

    Unfortunately we are using a 'cachebox' supplied by our Broadband consortium (CLEO)

    Thanks

  4. #4

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by KWestos View Post
    Is there a way in policies to redirect google to that of our schools intranet homepage search engine (as this generates revenue for us).

    What I want is when a pupil types in google it redirects to our search page (simple).

    Is it easy to do?

    Thanks
    Generates revenue?
    How?

  5. #5

    Join Date
    Dec 2007
    Location
    Cardiff, WALES
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    What I would do in this situation would be to set the server with the search stuff on to respond with the search page to any url's you wish to point there then just put these on your dns server.

    e.g. if I wanted to redirect www.google.com to our own search engine I would go onto the web server with the search app on it, and set it up to respond with our search page to any requests to the domain www.google.com then go into DNS and set www.google.com up as a record pointing to that server

  6. #6

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    Use a GPO to prevent www.google.com, etc. from using the proxy. Add records in your hosts files on the clients and job's a good un

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Quote Originally Posted by boomam View Post
    Generates revenue?
    How?
    https://www.google.com/adsense/stati...sOverview.html

  8. #8


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,473
    Thank Post
    866
    Thanked 848 Times in 670 Posts
    Rep Power
    196
    Using DNS is a bad idea. May cock up other things if your search doesnt work precisely like google.

    Best way to do it is a rewrite rule on your proxy - CLEO lot should be able to do it.

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    My soultion is:
    1) Setup a Googlish type search page at search.school.lea.sch.uk
    2) have a wildcard DNS entry for your school.lea.sch.uk domain that redirects to search.school.lea.sch.uk
    3) Use SquidGuard to search/replace url requests for popular search engines back to search.school.lea.sch.uk (allow searches when search.school.lea.sch.uk is the referer though!).
    4) ???
    5) PROFIT!

  10. #10

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    I thought it might be that, but is that even legal for a school to do?

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Google didn't complain when we signed up. We've currently made $8.

  12. #12

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    lol.
    I didnt mean google complaining, i mean from the perspective of the goverment, schools arnt aloud to make profit are they?
    Or am i talking nonsense? .

  13. #13
    torledo's Avatar
    Join Date
    Oct 2007
    Posts
    2,928
    Thank Post
    168
    Thanked 155 Times in 126 Posts
    Rep Power
    48
    Quote Originally Posted by lonewolff View Post
    What I would do in this situation would be to set the server with the search stuff on to respond with the search page to any url's you wish to point there then just put these on your dns server.

    e.g. if I wanted to redirect www.google.com to our own search engine I would go onto the web server with the search app on it, and set it up to respond with our search page to any requests to the domain www.google.com then go into DNS and set www.google.com up as a record pointing to that server
    can you even do that in windows dns server ?, i was under the impression you could only add records of hosts that use the fqdn of the school network, therefore only hosts that use the domain of the internal dns server e.g myschool.sch.uk so you can't have any record with a different domain name e.g google.com

    or maybe i've misunderstood what you're saying.

  14. #14

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,684
    Thank Post
    516
    Thanked 2,452 Times in 1,898 Posts
    Blog Entries
    24
    Rep Power
    832
    Quote Originally Posted by torledo View Post
    can you even do that in windows dns server ?, i was under the impression you could only add records of hosts that use the fqdn of the school network, therefore only hosts that use the domain of the internal dns server e.g myschool.sch.uk so you can't have any record with a different domain name e.g google.com

    or maybe i've misunderstood what you're saying.
    Yep, you can add a new forward lookup zone (so google.com) and then add an A record for www. or whatever you want. That is what I've done for our school site internally it just directs straight to our webserver's internal IP, but from external hosts it gets port forwarded from our firewall.

  15. #15

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,684
    Thank Post
    516
    Thanked 2,452 Times in 1,898 Posts
    Blog Entries
    24
    Rep Power
    832
    Quote Originally Posted by Geoff View Post
    My soultion is:
    1) Setup a Googlish type search page at search.school.lea.sch.uk
    2) have a wildcard DNS entry for your school.lea.sch.uk domain that redirects to search.school.lea.sch.uk
    3) Use SquidGuard to search/replace url requests for popular search engines back to search.school.lea.sch.uk (allow searches when search.school.lea.sch.uk is the referer though!).
    4) ???
    5) PROFIT!
    That is against the rules for the google adsense program. You can't interfere with people's requests in any way. They have to use the site as presented to them - so stealing searches from other sites and posting them to your own google search is against the rules.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. wierd redirect
    By Scotmk in forum Web Development
    Replies: 7
    Last Post: 21st November 2007, 04:39 PM
  2. Redirect Faverates Folder
    By alonebfg in forum Windows
    Replies: 7
    Last Post: 21st June 2007, 07:10 PM
  3. Squid Webpage redirect
    By Stese in forum *nix
    Replies: 18
    Last Post: 14th June 2007, 10:57 AM
  4. Redirect Favourites Bug??
    By SwedishChef in forum Windows
    Replies: 4
    Last Post: 23rd February 2007, 03:56 PM
  5. Is it possible to redirect a share?
    By ChrisH in forum Windows
    Replies: 6
    Last Post: 29th March 2006, 08:16 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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