Don’t know that this will be possible with Herd since a TLD will be expected.
Instead you will need to configure a web server to serve that application separately.
Can I ask why it must be served at that URL?
I have a project that needs to be run as "http://localhost/example" and not "http://example.test" in my local, am using Herd and i like it, is there any way to do this?
Please or to participate in this conversation.