Localhost access after changing URL

So turns out, in /etc, there is the host.conf file and the hosts file.

Yes, it was that stupid.

Case closed.