Deleted Account pointed at server redirection

Damian2Cubed

Member
Sep 28, 2018
15
1
3
Ireland
cPanel Access Level
Root Administrator
Hello,

I have small issue with my WHM.

I just did a cleanup of accounts that I no longer needed and I noticed that domains that are still pointing to my server are being redirected to first website on list in WHM.

How can I edit this so this will not happen or some default page would appear?

Sorry if this is was already asked but I couldn't find anything (don't know how to call this to be honest)
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,945
753
263
Houston
cPanel Access Level
DataCenter Provider
Hello,


This actually shouldn't be occurring on a shared IP address for connections over port 80. The default page is there specifically to handle this issue. Can you show me what's in Apache's document root currently?

Code:
ls -lah /var/www/html/
Also with what @dalem suggested you might also want to check out these threads:
SOLVED - Hostname goes to Default Web Page
 

Damian2Cubed

Member
Sep 28, 2018
15
1
3
Ireland
cPanel Access Level
Root Administrator
Hello,

Thanks for responses.

This is what I get when I run your command.

Code:
total 56K
drwxr-xr-x 4 root root 4.0K Jan 30 03:21 .
drwxr-xr-x 4 root root 4.0K Jan 30 03:21 ..
-rw-r--r-- 1 root root  229 Jan 30 03:03 400.shtml
-rw-r--r-- 1 root root  207 Jan 30 03:03 401.shtml
-rw-r--r-- 1 root root  203 Jan 30 03:03 403.shtml
-rw-r--r-- 1 root root  204 Jan 30 03:03 404.shtml
-rw-r--r-- 1 root root  216 Jan 30 03:03 413.shtml
-rw-r--r-- 1 root root  243 Jan 30 03:03 500.shtml
-rw-r--r-- 1 root root  11K Jan 30 03:03 cp_errordocument.shtml
-rw-r--r-- 1 root root  163 Jan 30 03:03 index.html
drwxr-xr-x 2 root root 4.0K Aug 24  2017 suspended.page
drwxr-xr-x 3 root root 4.0K Aug 24  2017 .well-known