Oddity with the good old defaultwebpage.cgi showing up on a cPanel install
-
I’m running WHM/cPanel on a dedicated host and for a particular project I’ve got going we need to leverage MultiSite.
Just to preface,
sub.domain.tld/wp-admin
seems to work just fine as it throws the visitor over tohttps://sub.domain.tld/wp-login.php?redirect_to=http%3A%2F%sub.domain.tld%2Fwp-admin%2F&reauth=1
.However, when you visit the
sub.domain.tld
you’re redirected tohttps://sub.domain.tld/cgi-sys/defaultwebpage.cgi
.I suspected that this was a config issue with either CloudFlare or cPanel, however I don’t see any incongruencies:
CloudFlare: https://cl.ly/image/0o0K0K0c0E2S
cPanel: https://cl.ly/image/0c2e1p1K3j3eWhen I take a look at
/etc/httpd/domlogs/_wildcard_.domain.tld
it is indeed hitting the wildcard. Further, both the primary domain.tld and *.domain.tld are directed to the same/home/username/public_html
, so that’s not a problem.public_html/.htaccess
shows the following:
https://gist.github.com/ylluminate/db8c9c1403a75ce0a029Any ideas as to what may be causing cPanel to want to load up
cgi-sys/defaultwebpage.cgi
instead of the WPpublic_html/index.php
?
- The topic ‘Oddity with the good old defaultwebpage.cgi showing up on a cPanel install’ is closed to new replies.