cPanel servers if you try and access the site via IP or a domain name that does not yet have an account, you’ll be greeted with the
Default Website Page response and redirected to
This is a little bit annoying because the page will set an expires time that is not immediate. That means in most browsers when you fix the error on your server (if you are the cPanel administrator) and try to check the site again, you’ll be automatically redirected to
/cgi-sys/defaultwebpage.cgi and get the “Default Web Site Page” message even if your site has been correctly fixed. So that means you need to clear your browser’s cache each time it is messed up and you attempt a fix – this is a little annoying.
What happens is that there is a default
index.html file that uses
meta refresh tag to forward you along to
The default index file is located at:
I’ve updated mine so it just displays an error on that page. You can even copy and paste the generated output from the
defaultwebpage.cgi file into the index.html file (make a backup first if you’d like) and then the page will just show the error text and not redirect you to the
cgi-bin directory and refuse to re-check the homepage without clearing the cache.
Once you’re no longer being forwarded to the cgi-bin directory, you can just do some
f5 to tell the browser to reload the page to check and see if your cPanel settings have been fixed.