Networks Local URL??

Discussion in 'Hardware' started by gbeeby, 6 Dec 2005.

  1. gbeeby

    gbeeby What's a Dremel?

    Joined:
    6 Dec 2005
    Posts:
    294
    Likes Received:
    0
    Hi guys,
    was wondering if there was a way that i could change my webserver ip adress (eg. 192.456.43.2) to something on my network only like http://localsite

    i have seen it done before but not sure about how to go about doing it
     
  2. Sp!

    Sp! Minimodder

    Joined:
    6 Dec 2002
    Posts:
    1,543
    Likes Received:
    30
    127.0.0.1 or localhost will refer to the loopback of the default network card of the PC there on,

    So if you go to http://localhost you will go to the default website of the PC our currantly using.... is that what you mean??

    Other than that you'd need to edit all your host files if you wanted localsite to point to something specific..... Oh and 192.456.43.2 isn't a valid IP address (your not alloud numbers bigger then 255
     
  3. Atomic

    Atomic Gerwaff

    Joined:
    6 May 2002
    Posts:
    9,646
    Likes Received:
    94
    He prob means 192.168.x.x as thats what most home systems use...

    is your webserver running on windows?
     
  4. gbeeby

    gbeeby What's a Dremel?

    Joined:
    6 Dec 2005
    Posts:
    294
    Likes Received:
    0
    yer i was just using that ip as an example don't really no mutch about ip's.

    i am running an windows server and i want to acced an html file on the server kinda like an intrantet i have seen it done before but not sure about how to go about doing it

    will it work if i type http:// and then the name of the server
    eg. http://server

    cheers
     
  5. Atomic

    Atomic Gerwaff

    Joined:
    6 May 2002
    Posts:
    9,646
    Likes Received:
    94
  6. scoob8000

    scoob8000 Wheres my plasma cutter?

    Joined:
    17 Feb 2002
    Posts:
    1,947
    Likes Received:
    0
    You can edit your hosts file (search for hosts from start menu) and add like:


    127.0.0.1 localhost
    192.168.0.123 websitename

    You'd have to do this on all your lan pcs that you want to access the page like that.

    Alternativly if you run your own dns server, you can setup a record to point to it.
     
  7. CaseyBlackburn

    CaseyBlackburn Network Techie

    Joined:
    27 Jul 2004
    Posts:
    1,846
    Likes Received:
    0
    I'll help you out here: C:\WINDOWS\system32\drivers\etc
     
Tags:

Share This Page