143
How to set up a hosts file for use with MDaemon
This article describes how to set up a hosts file for your client machine to use when connecting to MDaemon.
To resolve the MDaemon domain name on your workstations you may need to create a 'hosts' file (no extension). In our example we use example.com as our MDaemon domain name and the IP address of 192.0.2.124 as the server.
To create a hosts file:
- Click Start
- Click Run
- Type command
- Click Ok
- At the prompt type: cd C:\windows\System32\Drivers\etc\
- Press Enter
- Type: Edit hosts
- Press Enter
- Enter 192.0.2.124
- Press the Tab key on the keyboard.
- Enter example.com
- Press Enter
- From the menu bar, click on File
- Click on Save
- From the menu bar, click on File
- Click on Exit.
- At the DOS prompt type: ping example.com
- If the connection is good and software is configured correctly, the server will reply as follows:
- C:\windows> Ping company.mailPinging example.com 192.0.2.124 with 32 bytes of data
Reply from 192.0.2.124: bytes=32 time=1ms TTL=128
Reply from 192.0.2.124: bytes=32 time=1ms TTL=128
Reply from 192.0.2.124: bytes=32 time=1ms TTL=128
Reply from 192.0.2.124: bytes=32 time=1ms TTL=128
- If you do not receive the response above you are not connected to the server. Confirm your server and workstation configurations.
- At the DOS prompt type exit and press Enter.