Results 1 to 7 of 7
  1. #1

    What is LocalHost?

    Hi everyone,

    Can someone explain what exactly localhost refers to, what it is exactly?

    Is localhost simply another name for any domain on a particular server?

    Thanks.

  2. #2
    localhost is whatever computer you are using at the time, if you run a webserver and go to http://localhost it will take you to your server. No one else can access it by using the name as it will take them to their own computer.
    movabletypehost.com / xarayahost.com / tikihost.com : Interested?
    http://www.webhostingtalk.com/showthread.php?p=3691760

  3. #3

    thanks DayGlo

    Thanks, DayGlo.

    So, if I have five domains on one server and I've got a single script that any one of them can use, I can simply specify that a "localhost" could use it, meaning any one of these 5 domains. Is this correct?

    Thanks again.

  4. #4
    Join Date
    Jan 2002
    Location
    Kuwait
    Posts
    679

    Re: thanks DayGlo

    Originally posted by coffin
    Thanks, DayGlo.

    So, if I have five domains on one server and I've got a single script that any one of them can use, I can simply specify that a "localhost" could use it, meaning any one of these 5 domains. Is this correct?

    Thanks again.
    That won't work most of the time. It depends on how the script is doing the check and how is your server configured.
    Ahmad Alhashemi
    PHP, Apache, C, Python, Perl, SQL
    18 related BrainBench certificates

  5. #5

    Thanks Ahmad

    Thanks Ahmad,

    Thought that might be the case. Thanks for your advice.

  6. #6
    Join Date
    Nov 2001
    Location
    Ann Arbor, MI
    Posts
    2,978
    The loopback device with an address of 127.0.0.1 has always been set up as an IP address that IP applications can use to talk to the host running the application. Localhost has always just been a name aliased to the loopback address.
    -Mark Adams
    www.bitserve.com - Secure Michigan web hosting for your business.
    Only host still offering a full money back uptime guarantee and prorated refunds.
    Offering advanced server management and security incident response!

  7. #7
    Join Date
    Mar 2002
    Location
    Magnolia, DE, USA
    Posts
    41
    Originally posted by bitserve
    The loopback device with an address of 127.0.0.1 has always been set up as an IP address that IP applications can use to talk to the host running the application. Localhost has always just been a name aliased to the loopback address.
    Excellent Description, my thoughts exactly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •