InMotion Hosting Support Center

site going to cgi-sys/defaultwebpage.cgi

Category: Cpanel

2012-10-24 7:38 am EST

Hits: 47,594
I've just re-pointed several of my websites from my previous host to inmotionhosting. When I purchased my dedicated server I was given 15 IP addresses which all connect to my server, and I'm assigning each to a website. The problem I'm getting shows "Template Error: The template file must be given" on my pages and instead of my pages pointing to the root, they now point to cgi-sys/defaultwebpae.cgi.
I'm not using cgi with any of my websites. When I contacted customer support they told me it was because my ip addresses were not active, but that's not true since I can type in "" and get directly to my site.
My website is
Any help would be greatly appreciated!

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,889 Points
2012-10-24 9:23 am EST
Thank you for your question SouthWest!

Usually when you see the default Apache page, the IP address set for the A record is not the same IP that was assigned to that domain on your server. Unfortunately, in this case, is loading a website and we do not get that error. Please try clearing your cache.

<a href="" target="_blank">How to clear your browser's cache</a>

<a href="" target="_blank">How do I clear my local DNS cache?</a>

You will want to double check the IP address that was set for that domain to make sure it is the correct IP. You can see the IP address for the domain by checking the cPanel stats on the left. The Ip will either be the "Shared IP address" or "Dedicated IP Address" depending on if a dedicated IP was assigned to that cpanel or not.


James R

You must login before you can post a comment about this answer.

I'm having a similar problem. My website (dedicated server) frequently redirects to This happens a few times a day and is causing trouble for us with potential customers. This occurs sporadically, and it clears in a few minutes (browser starts seeing again), but a lot of users are having their experiences interrupted and getting turned off of our site.

Why should the server even think it has to point to this page? Shouldn't the default server location be Doesn't the fact that it is loading a page on the same machine as my website mean that the DNS is functioning properly? What causes the Apache server to decide that there is no website available at ~user/public_html and to instead pull up this page?

I've brought this to the attention of inmotionhosting support but they were unable to reproduce the issue, and so refused to help. As I said, the issue is sporadic, you can't just call it up. But I think an investigation of what can cause Apache to redirect to defaultwebpage.cgi might suggest a solution.

Jim Ingalls
6 Points
2013-05-21 11:12 pm EST
Hello Jim,

This definitely seems to be an IP or DNS related issue, because if the issue was caused by apache it would be consistent, and replicable.

I also confirmed by digging @ the nameservers that the IP addresses are correct.

Your network or ISP may have an old IP or DNS information stored. I recommend flushing your DNS and testing if the issue occurs again.

If you are still experiencing issues, then as a test perform a host file modification, and point your domain to your specific IP address on the server.

If your site works after a host file modification, then you know it is a local DNS issue.

You can also check if your site is working by using tools such as just-ping, or GTMetrix.

If you have any further questions, feel free to post them below.
Thank you,

31,035 Points
2013-05-22 11:51 am EST
Hi John-Paul,

Thanks for the response. Thanks for looking into the nameservers too. That's good to know they're set up correctly.

I have tried flushing my DNS cache already and it didn't fix the issue. If my network had old DNS info on the site, wouldn't my client try to point to the old server (bluehost)? When the problem occurs, my web client is pointing to a real page on my site (/cgi-sys/defaultwebpage.cgi, which contains the inmotionhosting logo), just not the expected one! I will try the host file modification to see whether I can still get the problem when the host IP is explicitly set.


6 Points
2013-05-22 1:42 pm EST
Hello ingalls,

If your server's IP address changed for some reason it may have stored the old IP.

I also checked the logs, and this is only happening to your IP address. Are you working in the Dashboard or a specific location when this occurs?, as it appears your software is requesting that address directly.

It is difficult to tell, but this could also be related to a plugin that is running on your website.

It could possibly be an .htaccess rule causing this as well.

Let us know if this issue persist after a host file modification too.

If you have any further questions, feel free to post them below.
Thank you,

31,035 Points
2013-05-22 2:15 pm EST
Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!