thanks so much. but why the output i got is so different from yours? confused.
in my ispconfig.smartracksolutions.info server (for ISPConfig2), the content of /etc/hosts file is as below:
127.0.0.1 localhost.localdomain localhost
192.168.123.102 ispconfig.smartracksolutions.info ispconfig
192.168.123.102 webmail.smartracksolutions.com webmail
192.168.123.102 ns1.smartracksolutions.info ns1
192.168.123.102 ns2.smartracksolutions.info ns2
in /etc/hostname, there is only one line "ispconfig.smartracksolutions.info"
I only have one server (ispconfigl.smartracksolutions.info for ISPConfig2) at the moment and both ns1.smartracksolutions.info and ns2.smartracksolutions.info are on this server (as shown in above /etc/hosts file). Is this ok? Otherwise, what should it do?
In ISPConfig2 web interface system, I create A record for webmail.smartracksolutions.com (webmail subdomain for smartracksolutions.com website domain) under DNS Manager. Is this what you mean? Otherwise, what should it be?