136

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:

  1. Click Start
  2. Click Run
  3. Type command
  4. Click Ok
  5. At the prompt type: cd C:\windows\System32\Drivers\etc\
  6. Press Enter
  7. Type: Edit hosts
  8. Press Enter
  9. Enter 192.0.2.124
  10. Press the Tab key on the keyboard.
  11. Enter example.com
  12. Press Enter
  13. From the menu bar, click on File
  14. Click on Save
  15. From the menu bar, click on File
  16. Click on Exit.
  17. At the DOS prompt type: ping example.com
  18. If the connection is good and software is configured correctly, the server will reply as follows:
  19. 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
  20. If you do not receive the response above you are not connected to the server. Confirm your server and workstation configurations.
  21. At the DOS prompt type exit and press Enter.