Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
jensite90 is on a distinguished road
 
Posts: 4
Join Date: Apr 2012
Default creating index.html file - 04-20-2012, 02:17 PM

Hi, I have a problem with creating my website because it needs an index.html file and I don't know how to create one. I've found a code in the internet and copied it and hosted it up onto my website, but it only results in the code being displayed.

Can anyone pls help? Thanks.

(p/s: I am using the BlueGriffon web editor and the FireFTP which is an add on to BlueGriffon. I also use Classic FTP)
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 4,231
Join Date: Jul 2011
Location: UK
Default 04-20-2012, 02:38 PM

Here's how - http://www.w3schools.com/html/
Reply With Quote
(#3 (permalink))
Old
Junior Member
jensite90 is on a distinguished road
 
Posts: 4
Join Date: Apr 2012
Default default index.file - 04-20-2012, 03:03 PM

Thanks. That's very helpful

I'm also looking for what's known as the "default index.html".

I found a sample at http://static.springsource.com/proje...indexhtml.html

I just haven't figured out how to tweak it to make a index.html file for my own website - pls let me know if you have any ideas . Also, does that mean I would have the index.html file arranged next to the files of my website - I presume that would be the case.

I'll try playing with my website tomorrow and hopefully it works. Cheers.
Reply With Quote
(#4 (permalink))
Old
Junior Member
jensite90 is on a distinguished road
 
Posts: 4
Join Date: Apr 2012
Default 04-20-2012, 03:33 PM

Oh yes, and here's something from the Q&A, which is where I read about the default index.html. It says:

You must either use FTP (file transfer protocol) client, or upload via our File Manager located in your cPanel area. All files must be uploaded to public_html directory!

Also, there must be a file named index.html or index.php inside the public_html directory for site to be working properly. If you accidentally deleted your public_html folder use Fix File Permissions tool from control panel to restore public_html folder.

Source: http://www.000webhost.com/faq.php?ID=7

Does anyone know what the above means? Thanks.
Reply With Quote
(#5 (permalink))
Old
Junior Member
prob123 is on a distinguished road
 
Posts: 3
Join Date: Apr 2012
Location: Canada
Default 04-21-2012, 06:36 PM

Just rename your main page 'index'.

My HTML page was named elf, I just right clicked it, renamed it index and all was fine. Just make sure you don't use any caps, use all lower case letters.
Reply With Quote
(#6 (permalink))
Old
tmiris's Avatar
Member
tmiris is on a distinguished road
 
Posts: 35
Join Date: Dec 2011
Location: nr Liverpool England
Default 04-21-2012, 07:46 PM

Welcome to free webhosting jensite90.
If you log into your 000webhost account at http://members.000webhost.com/login.php then under 'List of Domains' > 'Action' you'll see a link 'Go to CPanel' this is where you can manage your website from.
If you then scroll down to 'Files' you'll see a blue box icon named 'File Manager'. This is a tool to add and remove content from your website.
You have to remove any files named default.html or default.php from the folder public_html. This folder is your 'home' folder , a file named index.html or index.php in this folder will be your homepage. Good Luck!

Last edited by tmiris; 04-21-2012 at 07:48 PM. Reason: corrections
Reply With Quote
(#7 (permalink))
Old
Junior Member
jensite90 is on a distinguished road
 
Posts: 4
Join Date: Apr 2012
Default Works now :) Thanks! - 04-21-2012, 08:46 PM

Thanks tmiris, prob123 and shock. I did all the 3 things you all mentioned and it works now

Have a great day! Cheers!
Reply With Quote
(#8 (permalink))
Old
Junior Member
kenneth.hay567 is on a distinguished road
 
Posts: 1
Join Date: May 2012
Default 05-05-2012, 10:52 PM

I'm having a sililar problem, in that the main page of my site isn't called index.html, and changing it would need me to manually change hyperlinks all through the site. I've built a page with automatic redirect, but I get a 404 error if going tohttp://www.glasgowbuses.net63.net

However, if I got to http://www.glasgowbuses.net63.net/index.html
it gives the holding page for a second and then automatically updates. Why isn't the first URL pointing at the second URL?

Can anyone tell me what I'm doing wrong?

Forget it, it's working now. Must have been a timelag between fixing the filename from .htm to .html and the link updating.

Last edited by kenneth.hay567; 05-05-2012 at 10:53 PM. Reason: Problem fixed
Reply With Quote
(#9 (permalink))
Old
Junior Member
tittbit is on a distinguished road
 
Posts: 12
Join Date: Feb 2012
Default 07-29-2012, 07:10 AM

well, index file wheter it is index.html or index.php is a default file used by webserver when a domain is accessed.

You can download adobe dreamweaver and select create new file then edit your contents and save and upload, same procdure in web editor you have,

if you want a web designer like pain then download bluevoda website builder.
Reply With Quote
(#10 (permalink))
Old
Junior Member
gliverroom is on a distinguished road
 
Posts: 4
Join Date: Feb 2013
Default 02-14-2013, 05:13 AM

Quote:
Originally Posted by ShocK View Post
check this simple html tutorial step by step

www.corelangs.com

gluver
Reply With Quote
Reply

Tags
macromedia dreamweaver, web page

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com