(2nd time)URL Redirection with FC11 with resolv.conf
Athmane Madjoudj
athmanem at gmail.com
Sun Nov 1 10:44:55 UTC 2009
On Sun, Nov 1, 2009 at 11:33 AM, Jatin K <ssh.fedora at gmail.com> wrote:
> is it possible to redirect URLs to othere in FC 11 may be using resolv.conf
>
> say on my pc if I try to open www.google.com it should be go to
> www.blackle.com ( in FF )
>
> --
> °v°
> /(_)\
> ^ ^ Jatin Khatri
>
> No MS
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
As www.blackle.com has only one ip 208.109.162.150 and does not use
Virtual Hosts
add this line in your /etc/hosts file:
208.109.162.150 google.com www.google.com
NB:
if blackle.com change ip you must update your /etc/hosts
to get ip of blackle.com:
dig blackle.com
[...]
;; ANSWER SECTION:
blackle.com. 3591 IN A 208.109.162.150
[...]
--
Athmane Madjoudj
More information about the fedora-list
mailing list