Skip to content

Default cPanel placeholder page shows instead of the website

A domain loads the "This site is under construction" or default cPanel page instead of the real site. DNS or the document root is the cause. Here is how to fix it.

When a domain shows cPanel’s default placeholder — the “This site is under construction,” the default web page, or the hosting provider’s parking page — instead of the website, the server is answering but serving its fallback content rather than the account’s files. Two situations cause this: DNS is pointing the domain at a server (or a default/shared IP) where this account’s vhost is not what answers, or the account exists but its document root is empty so cPanel serves the default index. The fix is to make the domain resolve to the right account and point at a document root that actually contains the site.

What’s happening

cPanel ships default content that appears whenever a request reaches the server but no real site is there to serve. You see it in a few scenarios:

  • A brand-new account whose public_html still contains only cPanel’s index.html/default page — nothing has been uploaded yet.
  • DNS points at the wrong IP or the shared/server default IP, so the request lands on the default vhost (the catch-all) instead of this account’s vhost. The default vhost serves the provider’s placeholder.
  • The document root is empty or wrong, so Apache has no index to serve and falls back to the default page.
  • The vhost was not rebuilt after the account/domain was created, so httpd.conf still routes the hostname to the catch-all.
  • A freshly migrated account where DNS has not yet been pointed at the new server, so you are hitting the new host’s default rather than the migrated files.

The distinguishing question is whether the request even reaches this account: if DNS is wrong, you get the default no matter how perfect the files are.

How to verify

Confirm where DNS sends the domain and whether it matches this server.

# Where does the domain resolve, and is that this server?
dig +short A example.com
hostname -I
curl -s https://api.ipify.org

# Is the domain even on this account?
grep -i "example.com" /etc/userdatadomains

Check whether the account’s document root has real content or only the default page.

# Is there real content, or just cPanel's default index?
ls -la /home/<cpaneluser>/public_html/
head -5 /home/<cpaneluser>/public_html/index.html   # cPanel default has a recognizable marker

# What document root does cPanel have for this domain?
cat /var/cpanel/userdata/<cpaneluser>/example.com | grep -i documentroot

Confirm which vhost Apache serves for the hostname versus the default:

# Does the hostname hit this account's vhost or the catch-all?
curl -s -H "Host: example.com" http://127.0.0.1/ | head -20
grep -A10 -i "ServerName example.com" /etc/apache2/conf/httpd.conf

The fix

  1. Upload the site to the document root — on a new account the docroot holds only cPanel’s default index.html. Upload the real site (or remove the default index.html once your index.php/index.html is in place). The placeholder disappears the moment a real index file is the one Apache finds first.
  2. Point DNS at the right server — dig A returns the wrong IP or the shared default, so the request hits the default vhost. Update the A record / nameservers to this server’s IP confirmed by hostname -I (see the DNS runbook). Until DNS is correct, the perfect files in public_html will never be served.
  3. Fix an empty or wrong document root — grep documentroot points at a folder with no content, or the wrong folder. Repoint the docroot to where the files are, or move the files into the recorded docroot (see the 404/addon runbooks). An empty docroot falls through to the default page.
  4. Rebuild the Apache vhosts — the account exists but httpd.conf is stale, so the hostname still routes to the catch-all. Run /scripts/rebuildhttpdconf and /scripts/restartsrv_httpd (or WHM » Rebuild HTTP Configuration) so Apache serves this account’s vhost instead of the default.
  5. Add the domain to the account — if grep /etc/userdatadomains does not list the domain at all, it was never added here. Create it as an addon domain (or the primary, depending on intent) in cPanel » Domains, then upload the files. The default page shows because the server has no vhost that claims this hostname.
  6. Finish the migration cutover — a migrated account still on old DNS shows the new host’s default. Verify the migrated files load by testing against the new IP (hosts-file override or curl -H "Host:"), then point DNS over. Do not assume the migration failed; you may simply be looking at the new server’s default before cutover.
  7. Replace the provider/parking placeholder if it persists — if a reseller or upstream parking page shows even after DNS and docroot are correct, an upstream parked-domain service or a Cloudflare page rule may be intercepting. Confirm the origin serves the site with curl -H "Host:" directly, then clear the upstream parking/redirect.

Once DNS resolves to this server, the domain is on the account, and the docroot holds the real site, reload and confirm you get the site — test with curl -H "Host: example.com" against the server so you know Apache serves the account vhost, not the default, regardless of cached DNS. Stack Harbor handles cPanel default-page and domain-routing triage under WHM server management — start a conversation.