I had this same problem and agree this should be a feature if possible.
My partial workaround is in my local siteâs Apache virtualhost for the site (say firstexample.dev), I have
ServerName localhost
ServerAlias firstexample.dev
Now when I browse to http://localhost/path/to/my-timeline.php. The timeline works (since itâs localhost) which is good enough for testing. while http://firstexample.dev/path/to/my-timeline.php still shows (but without the timeline).
Guessing oow and other web servers may have something similar, configuration wise?