Re: (2nd time)URL Redirection with FC11 with resolv.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 1, 2009 at 11:33 AM, Jatin K <ssh.fedora@xxxxxxxxx> 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@xxxxxxxxxx
> 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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux