I've been doing it for a while and it seems to work ok, but I thought I'd check what good practice is as far as FQDN. Right now my server is setup with (lets pretend) the hostname myhostname
and I have a domain registered as myhostname.com
and I the domain A records for www and @ pointing to my public IP. My hosts file looks like:
127.0.0.1 localhost localhost.local
my.static.ip.ex myhostname.com myhostname
Is it wrong to set your FQDN to a second-level domain name?