Uploaded html but content not showing on my website

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
Message
Author
Sunnygirl777
500 Command not understood
Posts: 4
Joined: 2012-05-17 18:04

Uploaded html but content not showing on my website

#1 Post by Sunnygirl777 » 2012-05-18 11:37

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!!

User avatar
boco
Contributor
Posts: 26868
Joined: 2006-05-01 03:28
Location: Germany

Re: Uploaded html but content not showing on my website

#2 Post by boco » 2012-05-18 19:42

Did you clear your local browser cache before trying to visit the page? You may look at an old, cached ''Under construction'' page.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Sunnygirl777
500 Command not understood
Posts: 4
Joined: 2012-05-17 18:04

Re: Uploaded html but content not showing on my website

#3 Post by Sunnygirl777 » 2012-05-18 22:05

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?

User avatar
boco
Contributor
Posts: 26868
Joined: 2006-05-01 03:28
Location: Germany

Re: Uploaded html but content not showing on my website

#4 Post by boco » 2012-05-18 22:51

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).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

jlo22834
500 Command not understood
Posts: 1
Joined: 2023-12-06 20:59
First name: Jose
Last name: Oseguera

Re: Uploaded html but content not showing on my website

#5 Post by jlo22834 » 2023-12-06 21:14

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.

User avatar
boco
Contributor
Posts: 26868
Joined: 2006-05-01 03:28
Location: Germany

Re: Uploaded html but content not showing on my website

#6 Post by boco » 2023-12-07 02:28

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.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply