Assuming I understand, If you upload hi.html to /htdocs, then go to [yourwebsite]/hi.html
It’s a .jpg, there’s no html code. There’s no feature at the url to save what I type in.
If you follow my tutorial above to create index.html
file, you just visit your domain (deanrvongermeten.rf.gd
or deanrvongermeten.rf.gd/index.html
). Then, the page will appear with your image.
But, if you want to upload only your image, then you can access it by visiting deanrvongermeten.rf.gd/your-image-name.jpg
(if the image type is .jpg).
Make sure you upload all of your files to htdocs
folder on your File Manager.
You said:
- Prepare your image file (e.g.:
image.jpg
). Remember its filename. - Make
index.html
file. Its content:
<img src="image.jpg" />
image.jpg
= your image filename
- Go to your client area.
Choose your hosting account, then select File Manager menu. - Click
htdocs
folder. - Upload your files above (
index.html
&image.jpg
) inside that folder. - Done.
I don’t know how to make the index.html
file. I mean it’s there already, but I don’t know how to write code into it to move my jpeg file into it. Index.html seems to have nothing there. Index2.html has an edit button and a page with html code that can be edited. My image file is in the htdocs folder but i don’t know how to move it to the url.
index.html
can be made by these ways:
- Select [+] box button/icon on File Manager menu & choose
New File...
(same way with you chooseUpload File...
).
Then give the file a name:index.html
Put code above inside it. Save.
or
- On your PC, using a software such as Notepad++ or Atom.
After it was made, then upload it to your hosting via File Manager (same way with you uploaded your image).
You can also just edit that index2.html
. Delete all its code inside it, then put new code above.
After that, you can just visit your domain.
Btw, what is your image filename?
When I try to add code and save to index2.html it says error FTP upload permission denied.
you cannot do it on that file, delete it and paste your codes to index.html
You can also just edit that
index2.html
. Delete all its code inside it, then put new code above.
After that, you can just visit your domain.
@adisp007 it is a placeholder file, you cannot make changes on it, must be done on index.html
Dear Adisp007 and BayoDino; thank you, that worked.
All: I’m have Linux with FF browser, can’t use windoze apps.
This is not the easiest or most intuitive website builder but with your help I got it done, thank you.
Oh,I don’t know. I always just delete that file.
If you mean about those text editor, Atom support Linux & Mac,too.
Hmm, I thought it worked, the page showed for a while but now it seems to be down…
Can you tell me some free domain names?
That issues should be fixed now, however you can get free domains from freenom.
How can I upload to a different domain? I don’t know how to use the file manager to do that.
Just copy all files from your rf.gd domain and paste it in new domain htdocs
folder
I don’t think if he has any problems with that after 8 days.
Got it, So probably it can be locked
Yes, to prevent people from adding more messages to it for no reason.