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 "http://220.127.116.11/~ky7p8q2/" and get directly to my site.
My website is http://www.ssgims.com
Any help would be greatly appreciated!
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, http://www.ssgims.com is loading a website and we do not get that error. Please try clearing your cache.
<a href="http://www.inmotionhosting.com/support/website/how-to/clear-browser-cache" target="_blank">How to clear your browser's cache</a>
<a href="http://www.inmotionhosting.com/support/domain-names/dns-nameserver-changes/how-do-i-clear-my-local-dns-cache" 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.
I'm having a similar problem. My website www.homegrownhits.com (dedicated server) frequently redirects to http://www.homegrownhits.com/cgi-sys/defaultwebpage.cgi. 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 www.homegrownhits.com/ 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 www.homegrownhits.com? 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.
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.
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.