Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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:

192.168.9.200 mysql-backend.example.lan mysql-backend
share|improve this answer

Your Answer

 
discard

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.