Page 1 of 1

Uploaded html but content not showing on my website

Posted: 2012-05-18 11:37
by Sunnygirl777
I'm new to this, trying to figure it all out. I used a free website template and all looked great. Then I copied the source into notepad and saved it with the name index.html (had to choose unicode to save, no idea what that means). Then I uploaded that file into the www folder on my hosting server's site. It did upload, I can see it there. But when I go to my website, nothing shows up (just the message the host put up about web site coming soon). Not sure what I did wrong. Can anyone help? Thank you so much!!

Re: Uploaded html but content not showing on my website

Posted: 2012-05-18 19:42
by boco
Did you clear your local browser cache before trying to visit the page? You may look at an old, cached ''Under construction'' page.

Re: Uploaded html but content not showing on my website

Posted: 2012-05-18 22:05
by Sunnygirl777
Yes, I cleared the cache. I'm wondering if somehow I saved it wrong, or if I put it in the www file on the server wrong. I'm not sure if I need to put the my folder in the www file, or if I need to do it one file at a time. Can anyone help, please?

Re: Uploaded html but content not showing on my website

Posted: 2012-05-18 22:51
by boco
index.html must go directly into the www directory. Don't create any further subdirectories unless they are required to preserve the website structure (example: images subdirectory).

Re: Uploaded html but content not showing on my website

Posted: 2023-12-06 21:14
by jlo22834
Hi @boco,

How would one add a subsite in a subdirectory?

I want to host another website under the main "/" folder (e.g., "/subsite/"), but when I add the build files to the subdirectory, it loads the index.html, but it's blank.

Ex: www.example.com/ => loads fine

www.example.com/subsite => loads blank index.html screen

Is it possible to host subsites using FileZilla?

Thanks so much for your help and any suggestions or tips would be greatly appreciated.

Re: Uploaded html but content not showing on my website

Posted: 2023-12-07 02:28
by boco
Is it possible to host subsites using FileZilla?
Direct answer: No, you cannot host any sites with FileZilla, neither main nor sub. FileZilla is a generic file transfer tool using the FTP or SFTP protocol. Nothing else.

The site is hosted on the webserver of your hosting provider. That's the one you need to contact and clarify
- if you are even allowed to host child sites in subdirectories. Some want extra cash for multiple sites.
- if yes, how they need it to be set up.

Technically, having an index.html document in the subdirectory should work, unless blocked by the hoster (see above). First, try it with a simple "Hello World" type of document.

Code: Select all

<body>Hello World!</body>
If that works, it's not blocked.