Why Web Pages Appear in the Wrong Location After Uploading to My Website?

If your are a new web designer, you may face aNow your file is in the top directory (/).
common problem after uploading your web page toNow you will be surprised that, you can not access
your web server. The problem is that the web pagethe uploaded file from the internet whatever you
appear in the wrong location on your website, and willtype in the URL box.
not be accessible when you type its address in theThe reason is when you type the URL of your
browser address box.website, you will access the (/www) directory which
There are two ways to create a web page at youris the top directory of your website.
website. You can either create the web page on theAll the web pages of your website are in the (
server using the server html editor application, or youwww) or in a sub-directory of (/www).
can create a web page on your home computer andHere is the solution to this problem:
then upload it to your web server using FTP (fileWhen you get access to the top directory, you click
transfer protocol) software.on the /www folder icon in the list. Now you are in
The first method is rarely used, because it is notthe website home directory (/www/) where your
very practical. It lacks the flexibility of of homehome page is.
computer. The second method is widely used. WithLooking at the top, you notice it says the current
the use of ftp software, you will be able to uploaddirectory is such and such. So, when you hit the
your webpage to your server.upload link, make sure the the current directory is
The problem is when you ftp to the server, and youwhere you want to upload the webpage.
are granted access you end up on the top directoryFor example, if you want to upload a web page to
(/) which hosts all your files website and others. Youthe sales sub-directory, you click on the /www and
get a screen with all of your folders, sub-folders, andthen on the /sales folder icon in the /www list.
single files under the main (/) directory.This is where you end up: /www/sales as your
Now you get a link at the top of the screen thatcurrent folder. Now you click the upload link to have
says upload file. When you click on the link, a box willyour web page end up in the correct folder /www
open that lets you search for the file you want tosales/.
upload from you home computer hard disk.In summary, your web page will end up in the current
When you choose the file to upload to your websitedirectory of your web server space. The initial
and continue with the step by step process, you enddirectory to a get once accessing your account is the
up successfully with the file on your web servertop one.
storage in the top directory.After that you can change the current directory to
Please note that the term directory and folder areany sub-directory under you website directory,
used interchangeably, but refer to the same object.where you need your web page to end up.