Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

IP Mapping - Access your computer via name instead ip

I want to share some knowledge.

I'll run this OS tutorial quick, so you know what it means. We usually connect to the WiFi modem router via (usually that's the case for D-link, Tp-link, Netgear, other major brands).

IP Mapping is a method where you can cloak that IP with name so you can type that name instead of IP address.


In Windows Vista, 7, 8 , run notepad with admin priviledge. Open, windows/system32/drivers/etc/hosts


In MacOSX, open terminal, type in:
sudo nano /private/etc/hosts

We will have found that # localhost is inside that.
What it means is locahost is (do not touch this ip as this is internal machine IP).

Now, here comes the fun part. Add down below the line (Change to relative IP address on your connected network): mymodem myserver

For Windows - hit CTRL+S (Save for Notepad)
For OSX, hit CTRL + O to writeout (not the apple key)

Next we need to flush the dns to renew it.

For windows, open comamnd, and type in: ipconfig /flushdns ,
For OSX, type dscacheutil -flushcache

Now open your browser, type "http://mymodem" - (i.e. travel to first before hitting the internet) , so if the ip works, it will go to your modem first.

If you cannot connect via IP, this method will not work as it is only a mapping of IP address to name.

Credits: Domi (For helping me with the windows part).
Thread Information
Posted In
2 posts
2,127 times
Last Post
Last updated on 7 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Users who participated in discussion: Chan, PHPar