Your Joomla! root /configuration.php
public $live_site = ''; ... to see e.g. if there is no path which can somehow influnce it, etc.
Test if on server there is not set some wrong path, etc.
Really hard to add some clue advice what to test and what is really the part which cause this strange issue

Jan