In a multisever with dedicated servers, how can i set /etc/hosts file if my domains are?: web1.domainA.com web1.domainB.com mail1.domainA.com mail1.domainB.com db1.domainA.com db1.domainB.com ns1.domainA.com ns1.domainB.com Thanks
I use proxmox with openvz containers and my issue is that the hostname is the subdomain of fqdn, then i have this config: IP1 web1.domainA.com web1 IP2 web1.domainB.com web1 IP3 mail1.domainA.com mail1 IP4 mail1.domainB.com mail1 IP5 db1.domainA.com db1 IP6 db1.domainB.com db1 IP7 ns1.domainA.com ns1 IP8 ns1.domainB.com ns1
Yes, but in Perfect setup Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian 8 With ISPConfig 3.1, we need the command "hostname" return web1 (mail1, db1, etc) and "hostname -f" return web1.domainA.com, web1.domainB.com, etc This is my issue.
It is ok when both commands return the full hostname., so you can try to use the full hostname only in /etc/hosts and not the short version.