PDA

View Full Version : Publishing / index html ????


JamieClark
08-26-2008, 05:58 AM
Hi Guys - I have been meaning to ask this question for some time as it keeps cropping up as a real problem for me. I have been tinkering around with Web Easy since version 5 and I feel quite confident in how to use it. The problem that I am encountering is when I come to publish or update a website that I have designed and built. I simply design the site and then obvioulsy build it. The problem I find is when I come to update the index page. I have been told that I always need to build the site using the index.html. Yet I am then told that I can only have one website with index.html in the same folder, and to build the other sites using something else?

Im sorry if this is confusing to understand as I dont really know the importantance of index.html or what it does. All I know is that I have to check that in order for my site to work properly - yet none of the other sites can be built using this as web easy tells me they shouldnt have more than one site with index.html in the same folder.

In short this has meant that up until now I have had to build all the other sites with something else first, which then allows me to build and publish the site in question with index.html. ( Really sorry as I dont really know how to explain this! ). If I then wanted to update another site, I have to go through the same process of building the other sites with something else, leaving the site I want to update and publish with index.html...!!!!!

( Even reading this over Im not making much sense ha! )

Im really looking for a way of having multiple websites built and saved - with a way of updating them with out the need for adjusting other sites in the folder so I can then properly update the site that I want.

Any suggestions other than to shoot my self would be great - cheers all
kind regards
jamie

JohnnyD
08-26-2008, 06:39 AM
I think I know what you are meaning with this. First off, let's address the question about index.html.

index.html is the main page of all websites. But it is also the main page within a folder of a website. I'll give you a somewhat quick example:

Click these:

http://www.jd-web-designs.com/
http://www.jd-web-designs.com/index.html

They are both the same pages, but because index.html is after the / then it automatically tells it that it's the main page of the root folder which is my actual domain. Have I lost you yet?

Now click these:

http://www.ca-inlandempire-alanon.org/meetings/
http://www.ca-inlandempire-alanon.org/meetings/index.html

You will see that the second one has the index.html at the end but it's the same page. Again the same principles apply, but it is telling it that it is the the main page of the meetings directory (folder). I hope that makes sense and I am not just typing this all out for nothing. :cool:

Now, on to the second part of your post.......which will then hopefully apply to what I just talked about.

What you are doing is building each page separately, or are they completely different sites altogether with different domains?

If they are different page, then all you need to do is simply create separate folders and save each index.html file into them of the pages you build. If they are separate sites altogether and different domains, then simply save them in their right folders.

Let me know if I just helped or complicated things more........ LOL

davidrosso
08-26-2008, 10:38 AM
If you are building and designing multiple sites within one domain, you simply need to put each site in its own folder such as...

main site.......http://www.mysite.com
second site....http://www.mysite.com/site2
third site.......http://www.mysite.com/site3
fourth site.....http://www.mysite.com/site4

Each site would have its own INDEX.HTML file. Plain and simple, you can have only one index.html file per folder.

Dave Koehler
08-26-2008, 12:27 PM
Im really looking for a way of having multiple websites built and saved - with a way of updating them with out the need for adjusting other sites in the folder so I can then properly update the site that I want.

JohnnyD pretty much nailed it but I wonder if you are trying to make totally separate sites and only have one domain name. In that case you can only have 1 index.html. The rest you make with the htm. extension and plant them in separate folders on the server.

You can't have bobssite.com under the same domain as jamiessite.com.
It would have to be jamiessite.com (index.html)/bobsite.htm