I recently installed ubuntu server on a virtualbox virtual machine. I tried to connect it using <host name>.local but it didn't work? How can I access it from a url but not an IP?
(I do not want answers saying to modify /etc/hosts)
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsI recently installed ubuntu server on a virtualbox virtual machine. I tried to connect it using <host name>.local but it didn't work? How can I access it from a url but not an IP?
(I do not want answers saying to modify /etc/hosts)
Explore related questions
See similar questions with these tags.
/etc/hosts, which is easiest and most direct solution for your question, then installbind, create.localDNS zone and and configureAtype DNS record for your virtual server. You may even configure bind and your VM to update this record dynamically...