Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


that is... | 10 comments | Create New Account
Click here to return to the 'that is...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
that is...
Authored by: Anonymous on Apr 02, '01 01:49:54PM

Authored by: robh on Fri, Feb 9 at 01:37PM
Try using hostnames rather than IP numbers. Numbers are messy.

First setup some alias hostnames using NetInfoManager (append new aliases to your machine's name under the 'machines' entry). Do a restart (under the 'Options' menu) to make the new names take. This is equivalent to adding hostname aliases in /etc/hosts on other flavours of unix.
___________
how *exactly (what exactly do i do) to get NetInfo Manager to do that?
thanks.
ichi



[ Reply to This | # ]
adding new hostnames
Authored by: robh on Apr 03, '01 08:51:27AM

Go to the "machines" section, find (and select) your machine's name in the list (I think it should already be there).

You'll see something like this in the bottom window:

ip_address 1.2.3.4
name mymachine

Click on 'name' then using the menu at the top of the screen select:
Directory->Append Value

then type in the new alias for your machine.

Repeat the above for every alias you add.

NOTE: adding these aliases will not make these hostname aliases useable by other machines on your network or the outside Internet. These are local aliases. If you want them to be visible to other machines then you need to put them into a nameserver for your domain, and if you're making up new domain names, e.g. www.mynewdomain.com, then you have to register (buy) the domain first.

Local aliases might seem useless given the above, but they can be VERY useful for prototyping websites that use virtual hosts.



[ Reply to This | # ]