Re: hostname

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article <EA1B6038-C2CA-40F6-85E9-5814E062D9E9@xxxxxxxxxxxxx>,
"Ralph" <Ralph@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>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
.



Relevant Pages

  • Re: telnet on local LAN question (progress?)
    ... chalupa.localdomain chalupa localhost.localdomain localhost localhost4 ... having some strange names in your mail headers. ... And not just with Linux boxes. ... worked find when the hostname was entered on the 127.0.0.1 line but some ...
    (Fedora)
  • Re: (was Re: setting FQDN in /etc/hosts)
    ... There should be a space before the word localhost, ... the hostname command will tell you what ... 503 Leafnode must have a unique fully-qualified domain name. ... ## This is the NNTP server leafnode fetches its news from. ...
    (news.software.readers)
  • Re: HP-UX / VUE trouble
    ... The correct hostname is in /etc/src.sh. ... gateway and the definition of localhost as well. ... mserve allow 127.0.0.1 unknown mysystemname mysystemname.domain localhost ... in spc and mserve allow. ...
    (comp.sys.hp.hpux)
  • Re: DBIx::DBH - Perl extension for simplifying database connections
    ... host that it would not connect using the host name and end up using TCP on ... The server name is ... important because I use the localhost name to match up with that, ... matches then don't add in the hostname to the connect string. ...
    (perl.dbi.users)
  • Re: Localhost problem
    ... Tried //localhost without the http: and Athlon did not go to localhost ... If this is a XP SP2 problem, then maybe Microsoft should be contacted. ... Windows Server 2003, but returns the expected error in XP SP2. ...
    (microsoft.public.windowsxp.network_web)