I've set up an ubuntu-server to host a website. But at first i want to configure it to work in my local network.
Actually it serves as DHCP server for the whole network with static ip 192.168.170.250 (and configured, but not accessable hostname "ubuntu-server") and now i want to access this server (and all the apache virtual-hosts) via hostnames.
Also read other questions like this and that but the first one is a complete different question and the other is confusing me because i don't understand the impact of the differences to the first mentioned tutorials... (And I would really prefer to understand what i'm doing and configurating...)
I just want to write something like "ubuntu-server.home.lan" on any PC in my network to access my ubuntu-server, or "website1.home.lan" to access a virtual host of apache running on my ubuntu-server. And maybe later register this server to an official domain to make it accessible from web...
I would be glad for every hint!