cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading web page (Again)

N/A

Uploading web page (Again)

Hello - again.

I've been having problems trying to upload revised version (s) of my webpage. Each time I make a change I save it under a different name then xfer it to the remote site. Is this where I'm going wrong? Should I always save the changes under the same name then when asked if I want to replace the existing file say 'Yes'.

I know this might sound obvious but I'm pretty new to this.

Thanks.

Shockedops:
7 REPLIES
N/A

Uploading web page (Again)

Short answer, YES.

on the homepages server, you should have a directory structure that looks something like this:

/ <-- This is the top level of your web space and is not accessable from the web server.
/logs <-- directory contain log files used for webstats (don't touch!)

/htdocs <--- this is the top level directory for 'www.dougiec.force9.co.uk'
/htdocs/index.html <-- this is the 'default' web page for 'www.dougiec.force9.co.uk' - you should create this.

/htdocs/scb <-- the top level directory for 'www.stereocatbabies.co.uk' this should be the directory that you specify in the Domain names --> Configure (www.stereocatbabies.co.uk) --> Domain hosting settings (Directory /htdocs/)
/htdocs/scb/index.html <-- this is the 'default' web page for 'www.stereocatbabies.co.uk' - you should (must!) create this.

Create other directories under /htdocs/scb/ to help organise your content (i.e. directories for images and audio).

If you want to keep different versions, you have 2 options.

1) Keep the versions in different directories on your PC, and use these to overwrite existing files. This however leaves old files behind which you may not want accessable any more. Also, if you have large files to upload, it may break your site for anyone using it at the time (as links may not link to anything yet!).

2) Upload (with your ftp program) the new version to a different (new) sub-directory under /htdocs, say 'scb-new', then rename the current directory to something else (i.e. scb becomes scb-old-ver3). Now rename the uploaded directory (scb-new) to scb. This method ensures that only the files you want in the web site are available, with minimum possible effect on the site. This method is good for small sites, but becomes a problem for big sites with large files to transfer, particularly over dialup. You should also remember to remove older versions, so as not to exceed your webspace usage.

Hope that helps.


Neil
N/A

Uploading web pages

Thanks Neil.

I think i'm getting closer.

Wher does the scb part come in on the config of domain name. Shouldn't it just be htdocs/index.html

Thanks again

Cool
N/A

Uploading web page (Again)

Quote
Wher does the scb part come in on the config of domain name. Shouldn't it just be htdocs/index.html


NO!

What you are setting, is the directory name that will become the top level directory for your hosted web site (and in my example above, I used the directory name 'scb').

If someone where to just type 'http://www.stereocatbabies.co.uk' in their browser, the F9 web server would use the path to your /htdocs/ directory and add the directory you entered (scb), to find the directory in which to locate an 'index.html' or 'index.htm' file. (These 2 files are automatically searched for if no pages are specified after the domain name).

If the same person where to type 'http://www.stereocatbabies.co.uk/news.htm' in their browser, the web server would attempt to locate the 'news.htm' file in your /htdocs/scb directory and either the browser would display the page if it existed, or an error if not.

Does that help any more?

Neil
N/A

Uploading web page (Again)

Quote
What you are setting, is the directory name that will become the top level directory for your hosted web site (and in my example above, I used the directory name 'scb').


Neil / "narrs":
From what I saw the other evening, (see my posting in this Uploading web page thread) the directory actually configured is "stereocatbabies" -- or at least it was at that time!

Things seem to have changed since then.

A couple of evenings ago, the "dougiec" website was giving a file/directory listing, in which I could see the "stereocatbabies" directory. The "stereocatbabies" website was giving a proper webpage, the same as the one I obtained if I clicked on the directory listing for stereocatbabies as displayed on the "dougiec" website.

Just now, when I tried the "dougiec" website, I was returned a webpage, what looks like it's intended as the homepage of stereocatbabies. On the "stereocatbabies" website, I now get an HTTP 404 "Not Found" error.

The important point here is that the name of the directory for the "stereocatbabies" website doesn't matter, as long as it is used in a consistent manner -- ie, whichever directory is named for "stereocatbabies" using the "Domain Names" configurator is the one to which the content for the website has to be loaded. (And, as you've pointed out elsewhere, any changes made through the "Domain Names" tool can take an hour or so to actually be implemented, so it's necessary to give them time to take effect.)
N/A

Uploading web page (Again)

Quote
The important point here is that the name of the directory for the "stereocatbabies" website doesn't matter, as long as it is used in a consistent manner -- ie, whichever directory is named for "stereocatbabies" using the "Domain Names" configurator is the one to which the content for the website has to be loaded. (And, as you've pointed out elsewhere, any changes made through the "Domain Names" tool can take an hour or so to actually be implemented, so it's necessary to give them time to take effect.)


Agreed!!

Dougiec

The design of your pages on http://www.soundat45rpm.i12.com/stereocatbabies/ is much better than you have had the opportunity to do now, so here's what I would suggest to get you started:
[list=1]
  • Get a copy of your pages from http://www.soundat45rpm.i12.com/stereocatbabies/ on to your PC
  • Rename the default.htm page to index.html
  • Using an html editor (FrontPage, Word 2000/XP or even Notepad), change any url references to http://www.soundat45rpm.i12.com/stereocatbabies/ or http://www.soundat45rpm.com/stereocatbabies/ to http://www.stereocatbabies.co.uk/ on all pages
  • Use the same editor to change any references to http://www.soundat45rpm.i12.com/stereocatbabies/default.htm or http://www.soundat45rpm.com/stereocatbabies/default.htm to http://www.stereocatbabies.co.uk/index.html on all pages
  • Use an ftp program to connect to you 'dougiec' web space on homepages.force9.net
  • With your ftp program, create a new directory (I'll use 'scb' here for simplicity) under /htdocs/
  • Change into this new directory (/htdocs/scb)
  • Upload the web pages from your PC to the /htdocs/scb directory
  • (Close the ftp session!)
  • Use the F9 portal to check that your stereocatbabies.co.uk Domain hosting settings are set to /htdocs/scb (or whatever directory you decided on) - see previous messages for this.
  • Have a cup/glass of tea/coffee/vodka/whisky/beer (but don't mix!) and pray to any god or idol of your choice! Smiley
  • Point your browser at http://www.stereocatbabies.co.uk and cross your figures!
    [/listShocked]
    Hopefully, after all that lot, you'll get a web site just for stereocatbabies!

    Just to end off, http://www.dougiec.force9.co.uk has it's pages starting in /htdocs, so you can use this area for a different purpose/web site if you want.

    Still confused, try the cup/glass of tea/coffee/vodka/whisky/beer again (mix freely!) then try again!! If all else fails, ask again.

    Neil
  • N/A

    Uploading Stereo Cat Babies Website

    Thanks very much for all your help Neil. It seems there may be an issue with F9 as I can access the site thru www.dougiec.force9.co.uk and any changes update there as well. F9 are looking into it for me. Your ideas sound cool although a wee bit advanced for me but I will keep your postings for future.

    PS

    I am not in the band. It's my son Smiley

    Regards
    N/A

    Uploading web page (Again)

    Glad to help. Good luck with it.