How can you make a pretend domain name forward to an internal IP address?
Lets say you have a home wireless network. And lets say one of the computer’s internal IP is 192.168.1.10 and when you go there it displays a webpage saved on that computer. How would you make it so if you were connected to that network and lets say you entered “www.internalwebsite.com” how can I make that fake address forward to 192.168.1.10? If you don’t understand, this is what I mean.
“You have purchased a NETGEAR Wireless Router. When you login to that wireless network that you have created, you can enter www.routerlogin.com and it will forward you to the Router’s setup page INSIDE the router, not a website from the internet.”
How would you do that? As in, how would you make a fake domain name that only works inside your network, that would automatically forward to an internet IP address website?
If someone can answer my question, that would be fantastic!!!
The most simple, easiest way is to edit the hosts file on the machine you want to being able to type this domain into and go somewhere. If you want all your computers to do it you have to edit the hosts file on all of them.
C:\Windows\drivers\etc\hosts
Open the file in notepad and type
192.168.1.10 www.fakedomain.com
192.168.1.10 fakedomain.com
router

Comments on this entry are closed.