I would like to add a fully qualified domain name to my Centos 6 VM that is running on virtualbox.
The virtualbox is set to be in bridged mode.
I'm a windows programmer, and I am as far as they get from networking / linux.
I would be most grateful if you could point me into the right direction on how to do this.
I understand that the best way to do this is through a DNS server, but I want to go the quickest/easiest route for the purposes of learning by setting it up in /etc/hosts? I don't know if thats the right area, but I am open to your feedback.
update: I have been able to ping this VM using my host machine using its IP (I'm not sure whether it's internal or external) however, I haven't been able to ping it using its hostname!