On this page
What this issue is
Every web server ships with a placeholder page. Apache shows 'It works!' or 'Apache2 Default Page'. Nginx shows 'Welcome to nginx!'. Others, such as IIS or LiteSpeed, have their own versions. You see it when the server answers a request but has no site matching the domain, or the matching site points at an empty or wrong folder.
| Cause | What happened |
|---|---|
| Virtual host not enabled | The site config exists but was never enabled or the server was not reloaded. |
| Wrong server_name or ServerName | The domain in the config does not match the one visitors use, so the default site answers. |
| Wrong document root | The config points at an empty folder or the old /var/www/html. |
| Domain points at the wrong server | DNS or a migration sent traffic to a fresh server with only the default site. |
| Deploy wiped files | A release or restore removed the site and left the placeholder index file. |
| New domain or subdomain not added | A new host name was never added to the server config. |
Why it costs you leads or sales
Visitors from ads, email and search land on a page with no form, no offer and no checkout. Most leave at once. Because the status is 200, simple monitors stay green and you can pay for ad clicks for days before anyone notices.
- Ad clickVisitor clicks your paid link
- Server respondsShows 'It works!' or 'Welcome to nginx!'
- Landing page and formNever shown
- Lead or saleNever happens
The server answers, but with the placeholder page, so every later step is lost.
The request succeeds, but the visitor sees a placeholder instead of your site.
How to check if your site has it
Open the page in a private window
Visit your homepage and each funnel URL. Look for 'It works!', 'Welcome to nginx!', 'Apache2 Default Page' or similar.
Check the response body from the command line
Run curl -s https://yourdomain.com/ | head -n 20 and look at the title and text.
Compare the domain and the server IP
Run curl -s -H 'Host: yourdomain.com' http://SERVER_IP/ . If this shows your site but the domain does not, DNS points at the wrong server.
Test www, the bare domain and subdomains
Only one host name may be missing from the config.
curl -s https://yourdomain.com/ | grep -Ei "it works|welcome to nginx|apache2 (ubuntu )?default page" && echo "Default page detected"How to fix it
The fix depends on your stack. Most managed platforms (Shopify, Wix, Squarespace, Webflow, GoHighLevel) never show a server default page; if you see one there, the domain is usually pointed at the wrong host. Fix DNS first.
Apache: enable your site
Confirm a config exists with the right ServerName and DocumentRoot. On Debian/Ubuntu run: sudo a2ensite yoursite.conf, then sudo a2dissite 000-default.conf if needed.
Apache: test and reload
Run sudo apachectl configtest, then sudo systemctl reload apache2. Check with apachectl -S to see which virtual host answers each name.
Nginx: check the server block
Make sure server_name matches your domain and root points at your site folder. Link it with sudo ln -s /etc/nginx/sites-available/yoursite /etc/nginx/sites-enabled/ and remove the default link if it is not needed.
Nginx: test and reload
Run sudo nginx -t, then sudo systemctl reload nginx.
Check the files
Make sure index.html or index.php exists in the document root and the server user can read it.
Check the web root
WordPress files (wp-config.php, wp-content) must be in the document root the server uses. If only index.html from the server is there, re-upload or restore WordPress.
Remove the placeholder index
If both index.html and index.php exist, the server may load index.html first. Delete the placeholder index.html.
Check host settings
In your host's control panel, confirm the domain is attached to the WordPress install and the document root is correct.
Check the domain DNS
In Settings > Domains, confirm the status is connected. If the domain still points at an old server's A record, update it to the value Shopify shows.
Check hosting DNS
In Project settings > Hosting > Publishing, confirm the custom domain is added and DNS matches Webflow's records, then republish.
Reconnect the domain
In Domains, check the domain is connected to your site. If the A record points at an old host, reconnect it with Wix's records.
Check domain connection
In Settings > Domains, confirm the domain is connected and DNS records match. Fix any leftover A records for an old server.
Check the custom domain
In Settings > Domains (or the funnel's domain settings), confirm the domain is verified and the page is assigned to it. Fix DNS records if they point elsewhere.
server {
listen 80;
server_name example.com www.example.com;
root /var/www/example.com/public;
index index.html index.php;
location / {
try_files $uri $uri/ =404;
}
}How to confirm it's fixed
- The homepage and every funnel URL show your real content in a private window.
- The www, bare domain and any subdomains all load the right site.
- curl output no longer contains 'It works', 'Welcome to nginx' or 'Apache2 Default Page'.
- Forms, checkout and thank-you pages work end to end.
- Tracking tags fire on the landing page.
- Check again after clearing caches or CDN cache, as the placeholder can be cached.
How to prevent it happening again
- Keep server configs in version control and deploy them with the site.
- Run config tests before every reload.
- After a migration, test with the Host header against the new server before switching DNS.
- Remove the default site and placeholder index files after setup.
- When adding a domain or subdomain, add it to the server config at the same time.
- Add a content check for your key pages, not only a status check.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs your real customer journeys on a schedule, and the default page is caught if the journey asserts expected text. For example, if a step expects your headline or a form label and the page shows 'Welcome to nginx!' instead, the step fails, the failure is re-checked from a second region, and you get one alert with a screenshot and a likely cause.
No text assertion
- Page returns 200 OK
- Check passes
- Visitors see 'It works!'
Expected text asserted
- Headline not found on the page
- Step fails and is re-checked from a second region
- One alert with screenshot
Questions people ask
Why is my website showing 'It works!' instead of my site?
It means the Apache server is running but has no site configured for your domain, or the site folder is empty or wrong. Check the virtual host's ServerName and DocumentRoot, enable it, and reload Apache.
Why does my domain show 'Welcome to nginx!'?
Nginx is answering with its default server block because no server_name matches your domain, or the root folder holds only the placeholder file. Add or fix the server block, link it into sites-enabled, run nginx -t and reload.
How do I remove the Apache or Nginx default page?
Point your virtual host or server block at your real site folder and delete the placeholder index.html. You can also disable the default site config, for example with a2dissite 000-default on Debian or Ubuntu.
Why does the default page appear after I migrated my site?
Usually DNS now points at the new server before the site config and files are in place. Add the server config and files first, test using the Host header, and only then change DNS.
Will uptime monitoring catch the default web server page?
Only if it checks page content. The default page returns 200 OK, so a status-only monitor shows green. A check that looks for expected text, like your headline, will fail.
Can the default page show only on www or only on a subdomain?
Yes. Each host name must be listed in the server config. If www or a subdomain is missing, the default site answers for it while the main domain works.
Does FunnelGuard detect the default server page?
Partly. It catches it when a journey step asserts expected text that the default page does not contain. Without that assertion, or on pages not in a journey, it may not be flagged.
Related issues
- OPS-012Parked domain page instead of the siteFix guide
- OPS-010Hosting account suspended page (unpaid bill)Fix guide
- OPS-009Maintenance / coming soon mode left on after workFix guide
- OPS-017www and apex behave differently (one broken)Fix guide
- OPS-001Whole site down (connection refused / no response)Fix guide
- OPS-019Old ad URLs (pre-migration) 404 with no redirectFix guide