Hows this possible ? Referrer doesn't exist.

keat63

Well-Known Member
Nov 20, 2014
1,916
263
113
cPanel Access Level
Root Administrator
I'm seeing a few 404 errors in my apache logs, but I've no idea how or why.

Code:
[Tue Apr 18 20:58:35 2017] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/livedomain/public_html/al277.php, referer: www.myold-domian.co.uk
The referrer was an old domain of mine, which has been shutdown a while, so no longer exists, so I know that 'myold-domain.co.uk' isn't sending the referral. The account was suspended, no files exist.

It does however, have a 301 at registrar level pointing it to 'livedomain.co.uk'
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello,

Does an entry for the domain name exist in your Apache configuration file? If so, it's possible for someone to manually setup a DNS entry on their local computer to ensure a domain name resolves to a specific IP address:

How to Modify your hosts File - cPanel Knowledge Base - cPanel Documentation

That might explain how someone accessed your domain name even though it's been terminated.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
New I don't see anything in the hosts file or httpd.conf.
Hello,

It'd be the hosts file on their own computer, not the server.

Thank you.