Windows Hosts File..
I know this doesn't come under programming but i need some help with this.
You may be knowing that the windows hosts file is interpreted before the OS accesses the DNS servers for i.p. resolving.
This can be used for redirection without the user's notice.
The above line if placed in the hosts file will redirect Yahoo to Google(220.127.116.11). Here, Google has a dedicated i.p. so the task is easy.
However if a website is on shared hosting, how do we add such a site to the hosts file. I believe we cannot add a domain name in place of 18.104.22.168 above hence we always need an i.p.
So how can i make Yahoo.com redirect to a site which doesn't have a dedicated i.p., e.g. redirecting Yahoo.com to netbuilders.org??
Any help would be appreciated.
looks like this is something which is not technically feasible
Hostname redirection using Hosts file - Super User
check for some possible alternatives here
Thanks, was really in need of an answer to this :thumbup:
Originally Posted by anantshri