Hello. I'm having a complete brain fart here, and can't seem to put in the right information to google to get what I need, so I was wondering if someone could help enlighten me. I have a test server set up on our local network here, and its almost running great. The problem is that in order to access the computer you have to use the internal ip address and cannot use the computer name. How do I bind the computer name to the ip address (this is only for access over the internal network), so for instance when I need to go view the web root I can type in http://computerName instead of http://192.168..... TIA! Daniel
On Tuesday 25 May 2004 15:50 pm, Daniel Purdy wrote:
Hello. I'm having a complete brain fart here, and can't seem to put in the right information to google to get what I need, so I was wondering if someone could help enlighten me. I have a test server set up on our local network here, and its almost running great. The problem is that in order to access the computer you have to use the internal ip address and cannot use the computer name. How do I bind the computer name to the ip address (this is only for access over the internal network), so for instance when I need to go view the web root I can type in http://computerName instead of http://192.168..... TIA!
Put it in /etc/hots on the client machines HTH Dylan
Daniel
-- "I see your Schwartz is as big as mine" -Dark Helmet
On 25.05.04,09:50, Daniel Purdy wrote:
Hello. I'm having a complete brain fart here, and can't seem to put in the right information to google to get what I need, so I was wondering if someone could help enlighten me. I have a test server set up on our local network here, and its almost running great. The problem is that in order to access the computer you have to use the internal ip address and cannot use the computer name. How do I bind the computer name to the ip address (this is only for access over the internal network), so for instance when I need to go view the web root I can type in http://computerName instead of http://192.168..... TIA!
You can try this command as on your clients and server: echo "192.168.100.0 computername.your.network computername" >> \ /etc/hosts - Jostein -- Jostein Berntsen <jbernts@broadpark.no>
Daniel Purdy wrote:
Hello. I'm having a complete brain fart here, and can't seem to put in the right information to google to get what I need, so I was wondering if someone could help enlighten me. I have a test server set up on our local network here, and its almost running great. The problem is that in order to access the computer you have to use the internal ip address and cannot use the computer name. How do I bind the computer name to the ip address (this is only for access over the internal network), so for instance when I need to go view the web root I can type in http://computerName instead of http://192.168..... TIA!
Add the computer to your /etc/hosts file.
participants (4)
-
Daniel Purdy
-
Dylan
-
James Knott
-
Jostein Berntsen