+ Post New Thread
Results 1 to 13 of 13
Windows Thread, Add an IP address to local host in Technical; Hi I can't remeber how to do this. How do i add an IP address to the local host? Thanks...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,062
    Thank Post
    889
    Thanked 1,733 Times in 1,496 Posts
    Blog Entries
    12
    Rep Power
    454

    Add an IP address to local host

    Hi

    I can't remeber how to do this. How do i add an IP address to the local host?

    Thanks

  2. #2

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    On...

  3. #3
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    188
    Thank Post
    28
    Thanked 93 Times in 53 Posts
    Rep Power
    32
    Add the ip address to the hosts file. In winddows xp/vista/2003 the default location for the hosts file is %SystemRoot%\system32\drivers\etc\

    Hope that is of some help,

    Iain.

  4. #4
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,472
    Thank Post
    10
    Thanked 497 Times in 437 Posts
    Rep Power
    113
    Quote Originally Posted by FN-Greatermanchester View Post
    Hi

    I can't remeber how to do this. How do i add an IP address to the local host?

    Thanks
    What exactly are you trying to do? Add a second ip address to the machine? If so thats in advanced section of tcp/ip. You need a static address though if it's dhcp it will need changing first

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,062
    Thank Post
    889
    Thanked 1,733 Times in 1,496 Posts
    Blog Entries
    12
    Rep Power
    454
    basically its for the councils intranet we dont want to punlish the IP address or make it avaible on all machines.

  6. #6
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    470
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    I'm a little unclear on what your trying to do some generic advice (sorry if some of it is below you).

    127.0.0.1 will resolve to localhost automatically (used for testing stuff on the same machine, etc).

    Presumably your getting a network ip address find out what it is by start > run > cmd >ipconfig. Provided firewall settings, etc are ok typing this into another machine will access it.

    Anything more fancy than this you need to edit the host file with a fake DNS record (see above) or put an actual DNS record into your server....

    Hope something there helped!

    Cheers
    Jona

  7. #7

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    Is what you're actually asking how to do "How do I add a valid second IP to the NIC?" - ie your intranet is on another IP range and you want to allow only some machines to access it by giving them a second valid IP for the intranet range?

    Or are you trying to do the reverse and blackhole the intranet by redirecting the server IP to localhost?

    Or neither...

    You're not really explaining your problem!

  8. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,062
    Thank Post
    889
    Thanked 1,733 Times in 1,496 Posts
    Blog Entries
    12
    Rep Power
    454
    Hi

    Ok we have an IP address for an intranet for an external organisation. I would like to restrict who can have access to this. I want only a few people have the power to use it. So i don't want to put the IP in the DNS because then everyone can get into it.

    I want it so i can type in a DNS name in the web browser on a select few computers.

  9. #9

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20
    is this just for a webserver or for other applications on the server as well?

    Jack

  10. #10

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,062
    Thank Post
    889
    Thanked 1,733 Times in 1,496 Posts
    Blog Entries
    12
    Rep Power
    454
    Just for an IP address that is the schools intranet

  11. #11

    Join Date
    Mar 2007
    Posts
    1,792
    Thank Post
    82
    Thanked 296 Times in 227 Posts
    Rep Power
    87
    create a webpage with a link to the intranet on it, create a website contraining that page, set the website properties so it can only be accessed by the people you want it too, then make an a record pointing to the website.

    and hope no ones using an external dns server!.

  12. #12
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22
    Presuming you are on XP etc....on the machines that you want to be able to resolve a name for the IP, edit

    C:\WINDOWS\system32\drivers\etc\hosts

    Add a line saying the IP of your host and then tab and the name you want to be resolved to the IP.

    There is are a couple of examples given within the hosts file. It's fairly straight forward.

    (Sorry just noticed that it's been mentioned above....)

  13. #13
    Bestbett's Avatar
    Join Date
    Apr 2007
    Location
    Hiding
    Posts
    46
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Could just create a shortcut to the site via ip but name the shortcut something they would get and put it on their desktop.
    A gpo way would be to make a favorite for it in IE using its IP and direct link, but name the Favorite something easy for them to understand and only publish that favorite to the machines or users you want.
    Or use the lmshosts file they have been mentioning.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 26th February 2010, 10:00 AM
  2. Host your own blogs ?
    By pooley in forum How do you do....it?
    Replies: 9
    Last Post: 15th January 2008, 10:03 AM
  3. VMWare Server Host OS
    By plexer in forum Thin Client and Virtual Machines
    Replies: 11
    Last Post: 8th June 2007, 11:12 AM
  4. If you host your own VLE, what's your setup?
    By beeswax in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 13th January 2007, 07:22 PM
  5. Where can I host a Plone Website?
    By eean in forum Web Development
    Replies: 10
    Last Post: 15th December 2006, 05:27 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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