Not able to access the server using hostname.local

Hey all, I’m kinda of lost here and I don’t really know what to search for: I was using CasaOS and I could access it within my LAN using casaos.local/ without issues. I’ve now installed Ubuntu Server 24 and although I have setup network properly (at least that’s what I think), I can’t access it like homeserver.local/.

In the past, when I using CasaOS, I could see the server was listed with a blue link on my router page, like the Fritz Repeater.
image

Now it is not clickable even though it does have a server running on HTTP 80. I wonder what causes the previous behavior and what should I look for if I want to able to access my server using `homeserver.local/

I do have some network configuration that I applied using Ansible, like this

- name: Setup wired network
  become: true
  template:
    src: wired.j2
    dest: /etc/systemd/network/20-wired.network
  notify: Restart network

- name: Setup netplan file for wired network with DHCP
  become: true
  template:
    src: netplan.j2
    dest: /etc/netplan/50-wired.yaml
  notify: Apply netplan
network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      dhcp4: true
      dhcp6: true
      nameservers:
        addresses: [192.168.178.1]

[Match]
Name=enp3s0

[Network]
DHCP=yes

neither these configurations helped, tho

Hi, please Enter CasaOS’ CLI, and type ip a to print the network info.

Hey @giorgio, it turns out this whole configuration above was not really necessary. I needed to install the Avahi daemon (and configure it a little bit). It works fine now. Thanks!

You are welcome.

1 Like