hostname

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have WinXP Pro with SP1. ( I plan to update to SP2 only after loading
Microsoft
Office - which is not yet installed. ) I use just one computer at home that
is not connected to any other computer.

My C:\Windows\system32\drivers\etc file reads as follows:
127.0.0.1 localhost

During the loading of WinXP I did supply three unique identifiers:
1) Organization 2) Computer Name and 3) Adm Password; and then
I was asked if I wanted to join a Domain which I responded with 'No'. My
workgroup name is 'Workgroup'.

My problem is that when I type in 'hostname' from a dos prompt, I don't
receive
127.0.01 localhost
Instead, I get 1/2 of my Organization name followed by a hyphen and then 6
alphanumerics. ( When I installed WinXP it asked my to supply an
Organization name, a computer name and then an Administration password.)

How, can I fix my hostname. I assume that when I type in 'hostname' at the
command prompt - that in my case I should get 127.0.01 localhost.

Here's a list of what I have installed on my computer so far:
WinXP Pro SP1, Norton (full package) , Nero, and Microsoft Visual C++ 6.
I also have Sun's J2SE Runtime Environment 5.0 update 6 and
Macromedia Flash Player 8. The computer is a Dell XPS Dimension.

Sorry if this is posted in the wrong Discussion Group
 
I have WinXP Pro with SP1. ( I plan to update to SP2 only after loading
Microsoft
Office - which is not yet installed. ) I use just one computer at home that
is not connected to any other computer.

My C:\Windows\system32\drivers\etc file reads as follows:
127.0.0.1 localhost

During the loading of WinXP I did supply three unique identifiers:
1) Organization 2) Computer Name and 3) Adm Password; and then
I was asked if I wanted to join a Domain which I responded with 'No'. My
workgroup name is 'Workgroup'.

My problem is that when I type in 'hostname' from a dos prompt, I don't
receive
127.0.01 localhost
Instead, I get 1/2 of my Organization name followed by a hyphen and then 6
alphanumerics. ( When I installed WinXP it asked my to supply an
Organization name, a computer name and then an Administration password.)

How, can I fix my hostname. I assume that when I type in 'hostname' at the
command prompt - that in my case I should get 127.0.01 localhost.

Here's a list of what I have installed on my computer so far:
WinXP Pro SP1, Norton (full package) , Nero, and Microsoft Visual C++ 6.
I also have Sun's J2SE Runtime Environment 5.0 update 6 and
Macromedia Flash Player 8. The computer is a Dell XPS Dimension.

Sorry if this is posted in the wrong Discussion Group

The Hosts file has nothing to do with the computer's host name.

The "hostname" command shows the name that you've assigned to your
computer. If you want to change the name, right-click My Computer and
click Properties | Computer Name | Change.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Back
Top