Tomcat New motherboards have a feature that can boot on power/loss. My homeserver is set up that way so if i loose power, and when it returns the server will reboot on its own. Same with router, if you unplug router and plug it back in it will boot.
For wake on lan you target mac address not lan IP. and yes you have to have somewhat static public IP at your home to know where to point your whatwever.
There are workarounds for people having dynamic public IPs using https://www.duckdns.org/index.jsp or other no-ip.com i think.. some routers already have built in apps for that..
Anyways, there are many ways to set up things, depending on your situation.. i suggest the easiest way - wireguard server on your home server, and wireguard client on any other pc because you dont have phone.
Easiest wireguard server on linux is
That video talks about setting it up on proxmox in a lxc container. Idk what you use but you can run it in a debian linux aswell..
https://github.com/Nyr/wireguard-install
If you need more info about setting home server things up get on matrix (discord alternative, open source) and @ me in https://matrix.to/#/#selfhosted:matrix.org room
One liner to configure and add peers..