Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am setting up a dedicated mysql box, and I am not assigning any domain name to it, as it will be a backend server.

Can I set its ip address as its fully qualified hostname?

I am installing virtualmin and it requires a fully qualified hostname.

share|improve this question
up vote 4 down vote accepted

IP addresses are not any kind of hostname, fully-qualified or otherwise. But the software might accept the address regardless. Or you could take all of 15 seconds and add an entry to /etc/hosts...

share|improve this answer

An FQDN is the full domain name localized into the DNS hierarchy, for instance mysql-backend.example.lan.

An IP address is not a FQDN.

If your software requires you a FQDN please evaluate to add a record to your DNS server cache or to /etc/hosts: mysql-backend.example.lan mysql-backend
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.