Question:
How do you wright an index file for a website?
spencer
2009-07-23 12:12:56 UTC
If you can help-GREAT! Im using publisher and needed help publishing my website, so i called my hosting company and they said i needed to wright an index file because publisher didn't automatically wright one. He said that i should buy a "Real" web publishing software. The only problem is I don't have the money! So he told me to look it up online and I didn't find anything so, that's were i'm at now. I guess this is what i'm asking- 1. If i should relay invest in software if so any recommendations? and 2. How do I Wright an index file?? Once again,TY so much!!! I truly can not thank you enough!!!!!!!!!!!!!!!!!!! :-)
Five answers:
Mark aka jack573
2009-07-28 01:30:22 UTC
OK. As some other answerer has said, you need to create a page called index.html or index.htm



After you publish your website you should have the files that you made on the web server.



I do not know what the names of the pages that you just published, but hopefully you will, or be able to find out. To find out, you may need to use FTP. Here is a question on FTP that may be able to help you.

https://answersrip.com/question/index?qid=20090723034604AACAs0T



After you connect to the ftp server with the above instructions (on FTP), if you are using a program like CuteFTP it should show you the list of files that are on the server. If you are using the command prompt and ftp you can type "dir" and get a listing of the files in that particular directory.



You made need to change the directory to the one that contains your files.

If using the comand prompt with ftp, type "cd " and the name of the directory. If unsure what directory, try one, and type "dir" to see if it contains your files. If this directory does not contain your files, type "cd .." and go back one directory (folder) and try another one.

If using a program like CuteFTP, you should be able to click on a folder to see what is in that. If you need to go back, click on the folder that says "..".



Hopefully you understood all of that.



Do not close your FTP program just yet.



Now, open Notepad.

In this program copy the following and paste it into NotePad.







A web page that points a browser to a different page after 2 seconds









If your browser doesn't automatically go there within a few seconds,

you may want to go to

the destination

manually.







This came from

http://www.pa.msu.edu/services/computing/faq/auto-redirect.html





****************************

Part 1 of trial and error.

****************************



Change the ltext that says

URL=http://www.pa.msu.edu/services/computing/

to something like

URL=firstpage.html



Where firstpage.html is the name of one of your files from publisher.



Save the Notepad file as index.htm or index.html



Now use the FTP programs mentioned above to transfer the index.htm or index.html file onto the server.



Now open this index.html or index.htm through a web browser.





****************************

Part 1 of trial and error.

****************************



If the redirection of your web page does not take you to the page of your publisher you wanted, you may have to change the URL in index.html or index.htm so that it points to the correct page.



Change the ltext that says

URL=firstpage.html

to something like

URL=secondpage.html



Where firstpage.html is the name of the files from publisher that you just tried, and

secondpage.html is the name of the next page you are trying.



Continue to do Part 2. until you find the correct page that you want.



You will have to upload the index.html or html.htm file to the server with your FTP program after you change it every time.



Hope this helps.



[Edit]

Here are some FTP tutorial sites.

http://web-hosting.candidinfo.com/ftp-tutorial.asp

http://www.freewebmasterhelp.com/tutorials/ftp/

http://www.siteground.com/tutorials/ftp/index.htm

http://www.helpquest.com/support/tutorials/ftp.shtml

http://ftphelp.secureserver.net/
Big Don
2009-07-23 12:26:22 UTC
The easiest way is to use a Webpage Editor / Builder program.

Some are a lot like using a word-processor in some aspects. Just put on the information that you like to have appear on the page, text and/or pictures, links, etc... Then you simply save the file as whatever pagename you want (in your case you'll want to set up and save a default index.html page for your website).



Once you create your web-pages, simply upload them to your website. Your Website Host should have provided you with the username , password and probably FTP information you need to upload your files. Typically they are uploaded into a folder called "public". For a good and free FTP program which you can use to transfer files to your website, check out FileZilla:

http://filezilla-project.org/



By default, the first page that will automatically load is the "index.html" or "index.htm" file (use one or the other). So for example if you went to your website; www.mysite.com (I'm just using that name as an example), it would load in your index.html page, or technically the full url may look like www.mysite.com/index.html



For a fairly good, and free, Webpage editor, check out "Trellian Webpage Creator" at the following link:

http://www.trellian.com/webpage/



There are other good free ones too, or you may also consider buying a Webpage Editor / Maker software. A couple of the more popular ones are FrontPage (which I use a lot), or Dreamweaver to just name a couple.



Good luck!
StaneMk
2009-07-23 12:22:00 UTC
The first page(home page)you want to display when you open the domain is called index.html (or ndex.php for advanced users).

So rename the home page which you want to display when you open the domain and it should work perfect :)



And try this free web editor :



http://www.evrsoft.com/
margurite
2016-05-23 02:07:03 UTC
This book will be released coming October in India.. so keep ur fingers crossed till then :-)
Hii
2009-07-23 12:15:10 UTC
you html it


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...