Help with $base URL path in settings.php
All URL will be changed automatically, if u have not provide static URL in it. For further checking what is causing the issue, check your apache log (if your server is Apache2)

cd /var/log/apache2
tail -100 error.log


See the latest error which is showing, or paste it here.