Home Page No Longer Shows

Status
Not open for further replies.

ssabin

New Member
Messages
4
Reaction score
0
Points
0
I created an account with a new domain name this past Friday evening and quickly uploaded my simple web page, and everything worked great. I have a simple index.htm home page with links to two other .htm files and those link back to the main page. I spent some time editing the 3 htm files on Saturday and was pretty satisfied with them late Saturday night. The site displayed fine with Internet Explorer and Chrome, and all was well.

Then today I noticed from my work laptop that when I typed in my domain name, nothing would display. I could log into my account and go to Cpanel and look at my files with File Manager, but my browser couldn't find my web page page. I could see the files with Filezilla via ftp as well.


After looking around the forums and FAQs, I found nothing, so I figured I'd try to use Sitebuilder to build a dummy site on my main domain page. All of my original files remained in tact, except that "index.htm" was renamed to "index.htm_bak" and the new files and folders were added to my public_html directory. When I typed my domain name into my browser, the dummy web page (from a stock template) popped up. When I deleted all the new files and renamed my index.htm file, nothing showed again, like my domain no longer existed. (it is http://berkleyaaa.x10.bz by the way).


I re-published the Sitebuilder dummy web page and it showed properly in my browser. I then simply renamed the index.php file to a backup name, an re-named my original index.htm file to index.php. Voila, my web site was back and working again, except that my links back to my main page no longer worked since they were calling index.htm instead of index.php. I then removed all the Sitebuilder files again but left my index.php alone. Then, this time instead of using Filezilla, I used File Manager to rename index.php to index.htm, and my site is workig the way it did Saturday night.

I have two questions:
1) Why did my site suddenly quit working? It worked fine Saturday night.
2) Is there some setting I need to have in Filezilla that is preventing me from properly managing my files? Why was I able to upload the files with Filezilla without issue originally?

I don't want to have to go through all this again, so if someone can educate me a bit on this, I would appreciate it.

Thanks
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
The file extension for your index has to be either PHP or HTML (the "L" isn't optional). Simply renaming your index.htm (or index.php, whichever it is at the moment) to index.html ought to do the trick.
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Yes, but you DO have to put the filename in the URL if it uses the HTM extension instead of HTML. An index page (one that will open automatically when the domain or directory is opened) needs to have a filename that the system recognizes automatically. On Free Hosting, the recognized files are index.html and index.php. (Other systems may recognize default.asp, default.aspx, index.jsp, etc.).
 

ssabin

New Member
Messages
4
Reaction score
0
Points
0
The mystery is the fact that the page displayed correctly for awhile, then stopped, and now displays correctly again, all using only .htm file extensions.

When I update the files again I will rename them to .html, but I get the feeling this isn't really explaining the problem.

Like HBAZER said, it seems to work, and it works if you just type in the domain name without the index file as part of the url.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Displayed at home, on computer X and did not display at work on computer Y? Might have been a temporary firewall/caching issue at work.
 

hbazer

Member
Messages
398
Reaction score
7
Points
18
Yes, but you DO have to put the filename in the URL if it uses the HTM extension instead of HTML. An index page (one that will open automatically when the domain or directory is opened) needs to have a filename that the system recognizes automatically. On Free Hosting, the recognized files are index.html and index.php. (Other systems may recognize default.asp, default.aspx, index.jsp, etc.).

Sorry - what I did not say was...

#1 - with URL http://berkleyaaa.x10.bz/ - I could 'see' a page

#2 - with URL http://berkleyaaa.x10.bz/index.htm - I could see the same page

#3 - with URL http://berkleyaaa.x10.bz/index.html - I received a 'file not found' error

After that post
with the OP account on server [ Level ] I made the same test on my server [ Vox ]
I received the same results

all reloads were made with [ ctrl+F5 ] in Chrome browser
 

ssabin

New Member
Messages
4
Reaction score
0
Points
0
Well, it's remained up for the next 24 hrs or so, and since I made changes to it today, I changed to HTML.

Didn't seem to mind the .HTM extension though.

I guess I'll never know!
 
Status
Not open for further replies.
Top