Host File for Classic

S

scott boettcher

I¹ve read in a number of places that using a host file for Classic can clear
up some issues resolving to an Exchange server. Can anyone provide me an
easy-to-understand set of instructions for this file?
I¹ve seen some that simply stump me.

Let¹s say my exchange server name is USAOutlook01
Let¹s say it¹s IP address is 100.00.00.00

Can someone point me to the proper formatting, and if I need to provide more
info to get this help, please ask.

Many thanks,
Scott
 
N

Narendra

Host File for ClassicHi Scott
Here are the instructions for adding a host file to MacOS 10.3.4.
Open terminal which is found under applicationsa Utilities.
In your terminal session you should have something similar. Commands you need to enter are bold.
Mac-user-Computer:~macuser$ cd /etc/
Mac-user-Computer:/etc macuser$ sudo vi hosts
Password: (enter local computers admin password)
Now you are in the host file.
To input data press "i". (This will put you in input mode.)
Use the arrow keys to position your cursor on the next line after 255.255.255.255. Broadcasthost.
Enter the ip address of the SBS2003 server and hit the space bar a couple of times then enter the FQDN of the server.
Example:
10.0.0.1 servername.domainname.local
press : (enter colon) To tell vi your ready to save and exit.
You should have the : at the bottom of the window.
At the : Type the following.
: wq
This should of saved your edited host file and brought you back to the the command prompt.
Test by pinging the servername. Does it resolve to the ip address?

Do let me know if it works for you

Naren
I've read in a number of places that using a host file for Classic can clear up some issues resolving to an Exchange server. Can anyone provide me an easy-to-understand set of instructions for this file?
I've seen some that simply stump me.

Let's say my exchange server name is USAOutlook01
Let's say it's IP address is 100.00.00.00

Can someone point me to the proper formatting, and if I need to provide more info to get this help, please ask.

Many thanks,
Scott
 
D

davidson

there is another way to add a host file in OS 10.anything without going
into that scary terminal window. (I for one like the comfort of the GUI)

In applications/utilities find and launch the app "NetInfo Manager"
you will need to "unlock" at the lower left of the window with the admin
password to make changes.
this app is set up like the column browser of finder in 10.
go to / in the first window. machines in the second window. and
highlight localhost in the third window.
next duplicate these settings with the "duplicate" in the upper left.
now enter your ip in the ip field. enter the server name in the name
field and delete the servers field.

that is it. all from the comfort of the ol point and click interface.
this will work if you re running OS X, and running 9 in classic mode,
but not if you are launching from classic.



The Hosts file is found in the System's Preferences folder. This file is
parsed when Open Transport/TCP is initialized.
If you don't have a file there, you can create one with any text editor.

getting tech on ya:
Data entry must follow the format:
<domain><rr>[<comment>]
where <domain-name> is an absolute or Fully Qualified domain name
(which, however, need not be terminated by a dot, but must contain at
least one dot internally) and where
<rr>=[<ttl>][<class>]<type><rdata> OR [<class>][<ttl>]<type><rdata>
The only class currently supported is IN (Internet Domain); ttl (time to
live; indicates the record's configured lifetime) is in seconds; and
type can be A (host address), CNAME (canonical name of an alias), or NS
(name server). If ttl is not present the entry is assumed to have an
infinite lifetime; this may also be indicated by specifying a ttl of
minus-one (-1).
$INCLUDE and $ORIGIN are not supported.



short answer in classic...try something like:

apple.com     A     130.43.2.2

hope this helps ya with the host thing.
-dennis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top