View previous topic :: View next topic |
Author |
Message |
drakonite l33t
Joined: 02 Nov 2002 Posts: 768 Location: Lincoln, NE
|
Posted: Wed Nov 27, 2002 3:52 am Post subject: /etc/hostname? |
|
|
Up until now I've had a domain from dns2go that I've put in /etc/hostname, but now that I don't...
What is the correct thing to put in /etc/hostname for a computer which has a dynamic IP and does NOT have a name? |
|
Back to top |
|
|
reves Apprentice
Joined: 25 Jun 2002 Posts: 215 Location: South Florida
|
Posted: Wed Nov 27, 2002 4:09 am Post subject: |
|
|
I have dyndns; i put the domain name I registered with dyndns as the hostname. I don't think this is neccissary but it may cause problems if you are running a web server or ftp server if you put something different. _________________ Robert |
|
Back to top |
|
|
digital diesel Tux's lil' helper
Joined: 28 Oct 2002 Posts: 111 Location: pittsburgh, pa
|
Posted: Wed Nov 27, 2002 4:51 am Post subject: etc/hostname |
|
|
hostname can be whatever you want it to be. It's like naming your computer in Windows, but it's not a WINS name. That's a good thing. If you have a dynamic IP address and you don't use a router or anything like that, it can be whatever you want it to be ie:
computername.networkname.domain
If you have a router and multiple computers on your own personal network, I would suggest that keep the same network name, but you keep a unique computer name.
Anyhow if you have any intentions on running a webserver then you *might* want to name your computer www.NETWORKNAME.DOMAIN, but thats a discussion for a whole other thread |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Nov 27, 2002 1:35 pm Post subject: |
|
|
I just named it what I call it on my LAN. That box is also on the internet with a dyndns *.homelinux.org domain, but I don't worry about that. Just name it whatever you do locally. If you don't run a LAN and this is your only box, then it's up to you. However I think it's more reliable to name boxes on your own naming scheme, and not after your domain names, which can change. |
|
Back to top |
|
|
|