None exsisting account not redirect to to /cgi-sys/defaultwebpage.cgi

iLinux85

Well-Known Member
Mar 28, 2010
52
2
58
Hello

I have a problem which is the accounts that not created on the server

For example siteA.com doesn't have cPanel account to the server but it's DNS pointed to main shared IP

When i go to siteA.com it redirects me to siteB.com which have an account created for that site and pointed to main shared IP

How can i change it to the default page /cgi-sys/defaultwebpage.cgi

Regards
 
Last edited:

iLinux85

Well-Known Member
Mar 28, 2010
52
2
58
I found something interesting. this only happens if the website on cloudflare. when i turned cloudflare off it redirect to defaultwebpage.cgi normally!

so why Cloudflare redirects to another website on the server not to defaultwebpage.cgi and how can i prevent it from happening? if someone setup his domain on Cloudflare and point it to my main shared ip address so he can be redirected and see one of the active cpanel websites on the server?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
That behavior is most likely related to CloudFlare's use of IPv6 or if they're forcing https it would load the first Virtualhost in the apache configuration- I believe the workaround for this posted in the following thread may be useful for you Default page for removed SSL host