Subdomain routes to local IP Address

Hi all,

I have a self-hosted ubuntu server and I am attempting to set it up for my dads self-employed business. I have managed to setup WordPress for the main domain of I have then created a sub-server of my intention is to us invoiceplane which is installed correctly in the subdomain root folder. The issue I am facing is when I try to navigate to I end up getting sent to in the internal IP address of my server on 19291168.1.41/index.php./welcome.

another issue I face is when I go to it navigates me to .

Can you offer any advice as to what I have configured wrong? I believe it something in apache but I can’t identify it.

Many thanks in advance,

My DNS records are:
Name Type TTL Data
@ A 1h
@ CAA 1h 0 issue “