I am configuring an Ubuntu server on Amazon EC2. The tutorial I am following says /etc/host to be configured like this.
127.0.0.1 localhost.domain.com localhost X.X.X.X subdomain.domain.com subdomain
Suppose my site name is abc.com. Is the current configuration correct for my site.
127.0.0.1 localhost.abc.com localhost X.X.X.X www.abc.com www
I have a doubt regarding subdomain. How exactly are they identified and written?