ISPConfig /etc/hosts ip addresses

Discussion in 'Installation/Configuration' started by Sergio W., Aug 1, 2016.

  1. Sergio W.

    Sergio W. New Member

    Hi,
    I'm following the ISPConfig perfect install tutorial, however that guide is probably based on a virtual environment.
    So I would ask, in case of a real server, should the /etc/hosts file include the remote ip address or just the LAN one?

    e.g.
    127.0.0.1 localhost.localdomain localhost
    192.168.0.110 server1.example.com server1 # LAN Address

    or
    127.0.0.1 localhost.localdomain localhost
    212.212.100.111 server1.example.com server1 # Remote Address

    or both?
    127.0.0.1 localhost.localdomain localhost
    192.168.0.110 server1.example.com server1 # LAN Address
    212.212.100.111 server1.example.com server1 # Remote Address

    Thanks!
     

Share This Page