Create Site on Ubuntu doesn't use Local Site Domain and reverts to localhost

What issue or error are you experiencing?

I have created a new WP site using LocalWP application running on a Linux/Ubuntu VM.

For security reasons, I’m unable to run the application natively on the Windows11 laptop.

It has created the site on the VM but the Local Site Domain specified during the create process was not implemented. I assume that this is partially by design to ensure that it doesn’t use Apache.
Is this a correct assumption?

As you can see from the screenshot provided within the VM, LocalWP is running and serving the site up to localhost:10014

I want to query the VM from the Windows laptop using a domain name like default-localwp-vm.local

Unfortunately, the Live Link doesn’t work, and I simply get a 404 error when trying to visit the URL provided.

I have added an Apache2 site conf file to proxy pass incoming requests for the domain name set to the localhost which was set when creating the site.

<VirtualHost *:80>
ServerName default-localwp-vm.local
ServerAlias default-localwp-vm.local

ProxyPreserveHost On
ProxyPass / http://localhost:10014/
ProxyPassReverse / http://localhost:10014/

ErrorLog ${APACHE_LOG_DIR}/localwp-proxy-error.log
CustomLog ${APACHE_LOG_DIR}/localwp-proxy-access.log combined

I have setup the etc hosts file on Windows to target the VM.

And this setup works fine when running a browser in the VM.

However, when trying to navigate to it from the Windows11 laptop it simple times out.

Any suggestion to make this work would be appreciated.


What steps can be taken to replicate the issue?



System Details

  • Local Version:
    9.2.4+6788

  • Operating System (OS) and OS version:
    Ubuntu 24.04.2LTS


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
Router Log: N/A (nothing from prior to my test)