Why do i still see my old webpage after uploading my website?

Sometimes I get a web wizard asking me what to do if, after publishing a web site via a web editor or FTP program, the default page or page 404 "Page not found" is opened anyway. This article is written specifically to understand what is happening and how to solve such a problem.
Symptoms.

This article is relevant to you if, after downloading your web site, you continue to see one of the following pages:

You see page 404 Page not found even though the exact address of the page you just published is entered in the address bar.

You see the page hosted on your hosting by your hosting provider. (Most web hosters provide a page with some information for your hosting, so that you are testing the hosting before downloading your site, you did not receive the page 404 Page not found.This page, which opens by default, is usually replaced by the page "index.html" of your site after its publication).

You see the old version of the web page, despite the fact that theoretically it should have been a replacement for the one that you just published.

Note: This article is not for those who have not yet published their website.
Common causes of the problem

There are a number of possible reasons for which you can not see your newly downloaded website in your browser.

Below is a list of the most common of them. Please do not neglect this point thinking that the above is obvious. Carefully check everything.

You uploaded the wrong page

The most common mistake made by newcomers is choosing the wrong folder to upload your web site. Web servers are configured in such a way that they serve only those pages that are in specific folders. This is done specifically so that your visitors can not access any folder on the web server, so that your visitors can not read your email and other personal data. Thus, to ensure the security of confidential files, only files placed in special folders (directories) are open to everyone.

On most web hosts, web sites are downloaded to the "www" or "public_html" folder hosted on your account. On some hosting sites you need to place the sites in subdirectories with the name of your domain. For example, if your domain name is "example.com", then your site should be uploaded to a folder called "example.com". So we see that different hosts have different settings.

According to what was said above, uploading a web site in whatever horrible folder you like is pointless. Your site can be in one of the closed directories, where no one but you will see it.

First you need to find out what your web hosting settings are. If you use commercial web hosting, then all the necessary information has probably already been sent to your e-mail address in the confirmation of registration of your hosting account. Also, some web hosters place all the necessary information in the user documentation. If you did not receive any of the above, or did not find it, then ask directly for tech support for your hosting.

When you find out which folder you want to place the files on your web site, change the settings of your web editor or FTP program according to the information received. Instructions on how this is done for Dreamweaver are in Chapter 1 of the Dreamweaver CS5 tutorial, Dreamweaver CS4, the Dreamweaver CS3 tutorial. KompoZer users can find similar information in the KompoZer tutorial, Nvu users in the Nvu tutorial. Personally, I have a tutorial on FileZilla for those who use the FileZilla FTP program to upload the site to the hosting site.

Your web page has an incorrect file

If your domain name, for example, "example.com", and you want to see your newly published website, then when you type "http://www.example.com/" in your web browser, the main page should be called "index.html". That is, the web page should have the file name "index.html". So, it is "index.html" (or "index.php") and nothing else. All letters must be typed in lower case without extra characters and spaces between them.

The names on the Internet are often sensitive to the register. That is, "index.html" and "Index.html" are two completely different things. This may not be obvious to Windows users. But most web servers will treat "index.html" and "Index.html" as two different files.

In addition to the above, we note that "index.html" is a special file that is displayed when you type your URL in the address bar that does not include the file name itself. Those. "http://www.example.com/" and "http://www.example.com/index.html" opens the same "index.html" file. If you call your home page "Home_page.html" the web server will not reflect it when requesting "http://www.example.com/".


Note that this does not mean that there can not be pages on your site that are different from "index.html". Of course this is not so. In the end, if you look at the address bar of your browser, you will see that the article you are reading right now is on the "http://www.evitahost.com/knowledgebase.php?action=displayarticle&id=150" page. this article is not the main page of the site evitahost.com or one of the subdirectories, so this page can have any name that I want.

Additional Information

From a technical point of view, the main page of the catalog / website can be named by several different names, depending on the type of web server software of the web hosting and its settings. For example, many web hosts allow the main page to have the name "index.shtml", "index.php", and even "index.htm" in addition to "index.html". Some of these names are used for various technical purposes. Since you are reading this article, probably for you, it's better to just use "index.html" as the file name for the main page.

In addition to the above, there are web hosts where the main page uses such names as "default.html" or "default.htm" leading to the index page of the site. If you want to be absolutely sure about how to name the index page of your site, the best way to find out is to ask your web host. He's the only one who can tell you for sure, since he knows the server settings.

Your browser cached an old copy of the web page

If you are sure that you have uploaded your files to the correct folder, used the correct file names, but you still see the default page from your web host, there is a possibility that your web browser cached old copies of the web page. This can happen if you recently looked at your site in a browser, for example, just before downloading a new page. To speed up web browsing, most (if not all) web browsers store copies of web pages that you recently opened in the internal cache. When you request a web address, instead of searching for a country on the Internet, they just show you the old saved copy. This speeds up the time for displaying the page on the screen and saves Internet traffic.

To solve this problem, try the following:

Refresh / reload the page in the browser. If you use Firefox or Opera, you can do this by pressing Ctrl + R (that is, hold down the Ctrl key and press the "R" button). If you are using Internet Explorer ("IE"), press F5.

You can also use a variety of web browsers to test your site. For example, if you used IE, try using Firefox or Opera. If you do not have any alternative browser, download them. They are all available for free use, and as a webmaster, you should in any case check your site in different browsers.

If updating the page does not work, clear the browser's cache. This will cause the browser to get a new copy of the page when entering the URL in the address bar.

One way to do this in the opera is to press "Alt + P", click on the "Advanced" tab and "History", and then click the "Clear Now" button. Firefox users can click the "Tools | Clear Private Data" button, uncheck all the checkmarks in the dialog box that appears next to "Cache" and click "Delete private data". Internet Explorer 7 users should click the "Tools | Internet Options" button, click the "Delete" button in the appeared dialog box, and finally click the "Delete files ..." button.

(Note that most browsers have an alternative way to quickly delete all stored information, but keep in mind that, along with unnecessary information, you can delete data and passwords for some of the web pages that you use, so make sure you know what you are doing , before using faster methods.)

You use a web proxy that cached old pages

As in the situation described above regarding your browser, you can also cache your old copy of the web page with your proxy server. Note that some Internet providers (broadband or dial-up) establish a proxy between you and the Internet without your knowledge, so it is possible that you are using a proxy without even knowing it.

The only way I know how to solve this problem is to update your web pages in your browser. You can try to download your site in any browser, and try to reload the page (with Ctrl + R). (Internet Explorer sometimes ignores the request for page refresh, so using an alternative browser is often the only way to do this.) A reboot request can cause the proxy to check the website again and get the latest version of the page.

It's likely that you made a mistake when typing the URL (web address)

Finally, if all of the above does not work, make sure that you entered the correct URL in your browser. Honestly, I doubt that this is the cause of your problem, but no one is immune from an accidental mistake. It does not hurt in any way.
Conclusion

The problem in displaying your web page in a web browser after publishing your site is usually a problem for beginners, that is, because you are not familiar with publishing your own site on this web host. Once you stumble and solve it, chances are that you will not meet it again. And even if it repeats, next time you will easily solve it.
  • 18 Users Found This Useful
Was this answer helpful?

Related Articles

How can I activate my domain name?

If you registered a domain name with us, then your domain is already set up for work. For a...

Transferring the website from another hosting provider

When you transfer a website from a third-party hosting provider to the Evitahost server, you can...

How to upload site to server?

The Internet today is the main media environment. Every day, tens of millions of websites provide...

How to change PHP version?

Currently 5.6.x is the default version. You can change the PHP version in cPanel.

Powered by WHMCompleteSolution