I just discovered adding entries to the /etc/hosts (C:\Windows\System32\drivers\etc\hosts on windows) allows a realm of possibilities... free domains that only you can access You can even make your own top-level domains (TLD: e.g. example.rainbow)
Here's some Scratch-related entries:
69.164.193.192 chat.py
96.127.188.39 dragonthunder.com
Discuss fake domains
Last edited by bobbybee (2012-10-21 17:32:00)
Offline
Thanks, mentioned
Hey... what if somepony (*cough*, I'm doing it) wrote a program that downloads entries from a database a mini-DNS set up.
EDIT:
You can track the progress of that project here
Last edited by bobbybee (2012-10-21 17:40:41)
Offline
I pointed my router to "router.int" (int for internal) and shortly removed it (as a test). It works!
Offline
dvd4 wrote:
the "/etc/hosts" file says not to edit
It says not to edit the localhost entry, not the file itself:
/etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
…
Offline
My dad showed me how to do this about a month ago. We're setting up a fake domain hosted on my dad's laptop (it has server capabilities) to create and debug a website we're making for a friend's business.
It's really cool, I can have whatever domain I want!
Offline
You can change it all you want, but anyone outside your network (or that computer itself) won't be able to access domains through that method. My Dad has set up our network so you can type a computer's name (we name all our computers ) instead of the internal IP.
Depending on how the network is configured, only that computer you are using will be able to access those domains.
Offline
Magnie wrote:
You can change it all you want, but anyone outside your network (or that computer itself) won't be able to access domains through that method. My Dad has set up our network so you can type a computer's name (we name all our computers ) instead of the internal IP.
Depending on how the network is configured, only the computer you are using will be able to access those domains.
yeah, but it's fun to do this.
And btw,grammar.
Offline
how do you do it?
Offline
@Magnie
That's what my program is for: it'll download entries from a remote location (my server, presumably) and copy em into the file.
Offline
bobbybee wrote:
@Magnie
That's what my program is for: it'll download entries from a remote location (my server, presumably) and copy em into the file.
Only one problem: It doesn't work.
Offline
How'd ya know if it's not done yet?
Offline
Well, I have bad coding habits...
Offline
bobbybee wrote:
@Magnie
That's what my program is for: it'll download entries from a remote location (my server, presumably) and copy em into the file.
worst idea i ever heard
i hope at least you'll be using secure connection and checksums?
Offline
*gulps* Of...of course, sir.
Offline
Magnie wrote:
You can change it all you want, but anyone outside your network (or that computer itself) won't be able to access domains through that method. My Dad has set up our network so you can type a computer's name (we name all our computers ) instead of the internal IP.
Can't you just use Bonjour/Zeroconf/Avahi? My Macbook automatically broadcasts itself as "hostname.local", for example...
Offline