|
|
#2 (permalink) Top |
|
iDude
![]() ![]() Join Date: Nov 2006
Age: 20 Male
Posts: 1,583
Times Helpful: 124
My Mood: Fine
Status: Offline
|
You can only assign host names to nodes, such as computers and routers. An IP address is only used to let a node join a network. Just like having a phone number. So you can't assign a host name to an IP address.
|
|
|
|
|
#4 (permalink) Top |
|
The King
![]() ![]() Join Date: Jan 2004
Age: 18 Male
Posts: 5,255
Times Helpful: 403
My Mood: Drunk
Status: Offline
|
You have a hosts file on windows machines, that stores ip addresses and hostnames, for example something like:
192.168.1.9 laptop1 I believe editing this file on each machine will do this.
__________________
Never trust a program you don't have the source code for. ![]() My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers |
|
|
|
|
#5 (permalink) Top | |
|
iDude
![]() ![]() Join Date: Nov 2006
Age: 20 Male
Posts: 1,583
Times Helpful: 124
My Mood: Fine
Status: Offline
|
Right-click on My Computer and go to Properties. At the tab Computer Name, you can change your hostname (computer name). Setting a hostname on a router depends on what brand and type. You could consult your user manual.
Do remember that each node on the same network needs a different hostname. No, the HOSTS file is used when a network doesn't have a DNS server. You can link a (domain) name to an ip address. For example, if you got a webserver inside your network with the address 192.168.1.50. You can add the line 192.168.1.50 webserver to the HOSTS file in each PC. So if you enter WEBSERVER in the browser, it gets resolved to the corresponding IP address. However, the HOSTS file is almost not used anymore because it's replaced by DNS servers and it's very decentralised because a change needs to be saved in the HOSTS file of all PCs.
__________________
Quote:
Last edited by RHochstenbach; 19-02-2008 at 07:54 PM. |
|
|
|
|
|
#7 (permalink) Top | |
|
Nonconformist Geek
![]() |
Quote:
But if an IP has a host record, and there's no PC listening at the IP, DNS still works. It just won't take you anywhere. Domain name system - Wikipedia, the free encyclopedia
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux | Remember Everything |
|
|
|
|
|
#8 (permalink) Top | |
|
iDude
![]() ![]() Join Date: Nov 2006
Age: 20 Male
Posts: 1,583
Times Helpful: 124
My Mood: Fine
Status: Offline
|
Quote:
|
|
|
|
|
|
#9 (permalink) Top |
|
Nonconformist Geek
![]() |
Sorry, didn't mean to come off so strong. But no, host name is a synonym for a DNS A-record, so it's an acceptable substitution. "Host record" and "A-record" mean the same thing.
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux | Remember Everything |
|
|
|
|
#10 (permalink) Top | |
|
iDude
![]() ![]() Join Date: Nov 2006
Age: 20 Male
Posts: 1,583
Times Helpful: 124
My Mood: Fine
Status: Offline
|
Quote:
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to set home network with permanent IP's with router | GoldenAxe | Networking and Computer Security | 4 | 23-08-2007 09:41 PM |
| Giving this a go | megamaced | Distributed Computing | 13 | 05-04-2007 01:11 PM |
| giving MS the boot | donkey42 | Linux and Other OSes | 26 | 20-06-2006 09:33 PM |
| Banning IP's from sites... | Waffle | Web Development | 5 | 10-01-2005 07:20 PM |
| Giving up on gaming... | extreme4377 | PC Gaming | 15 | 09-10-2004 09:11 PM |