Jump to content
xisto Community
Sign in to follow this  
chronogamer28

Uploading the files via the Internet

Recommended Posts

Alright, I need some help on when I upload files via the Internet. Do I need to name my home page 'index.html'? Also, I can't seem to view pictures on my page. Is there a certain tag I need to insert in my scripting? Thanks.

Share this post


Link to post
Share on other sites

First of all, make sure you are uploading all files // folders to the "public_html" folder.What's your web page? I'd like to view the source and see what's going on. As long as you are putting in the <img src="image.png"> there should be no problem.

Share this post


Link to post
Share on other sites

OK, so I'm not supposed to put the files in the www folder? And if not, which folder do I put images and my scripting into in the 'public_html' folder? Here's my line for finding my image:<"img src="under construction.png" alt="Under Construction">The image name is under construction, and it is a PNG file. I don't know why it wouldn't work.

Share this post


Link to post
Share on other sites

First you've to remove quotes

 

<img src="under construction.png" alt="Under Construction">

and somes server doesn't take very well spaces in filename, just delete the space and the name of file too.

 

This image will be called from the root of www folder.

 

ROOTFOLDER

page.htm (inside this page is the code for call the image)

underconstruction.png (this has to be in same directory where page is it)

 

If you want to create a folder called images

 

ROOTFOLDER

page.htm

........IMAGEFOLDER

...............underconstruction.png

 

 

the code inside of page.htm for this

 

<img src="IMAGEFOLDER/underconstruction.png" alt="Under Construction">

Share this post


Link to post
Share on other sites

Alright, I have a subfolder inside the www folder called 'ROOTFOLDER'. I've put my front page (labelled 'index.html') and my image (now labelled 'UnderConstruction.png') The image is still not showing up. Sorry I'm acting like such a n00b but I've never used a browser-based uploading client before.

Share this post


Link to post
Share on other sites

Alright, I have a subfolder inside the www folder called 'ROOTFOLDER'. I've put my front page (labelled 'index.html') and my image (now labelled 'UnderConstruction.png') The image is still not showing up. Sorry I'm acting like such a n00b but I've never used a browser-based uploading client before.

<{POST_SNAPBACK}>


Your root directory for your html pages exist at public_html or www (it's just a shortcut to public_html)

 

inside public_html, if you have index.html (use .html for files, .htm was only for Operating Systems that only supported 8.3 filename extensions) I'm not sure how the httpd.conf files are configured but if .htm doesn't work try .html, you can also change this using .htaccess files.

 

You don't have to use web based clients for uploading, you can use ftp too, just make sure the directory you're in is public_html for pages you want to show on your site.

 

Do not have spaces in your filenames, as it's much easier this way, else if you're linking to a file you would do <img src="./image/This%20Image.png" alt="This Image">, this means that you have a image directory inside your public_html folder which holds your image named "This Image.png" space included.

 

I do believe files are case sensitive too, although it might not be the case. so ThisImage is different to thisIMAGE or THISimage or ThIsImAgE. I will have to check on that, but it's always a good idea to use lowercase for everything if possible.

 

If you're using the <base> tag, then <base href="http://yousite.com/rg-erdr.php?_rpo=t; so when you're addressing files you would now do <img src="/image/ThisImage.png" alt="This Image">

 

You do use www or public_html for your files to go in, just make sure index.html is your homepage.

 

 

Cheers, MC

Share this post


Link to post
Share on other sites

.tk is not DNS so your site won't be youname.tk/website.html, it'll redirect to yourname.astahost.com/website.html.If you choose a DNS capable one, it'll be like yourname.uni.cc/website.html without redirecting. With .tk you don't really have to set it up. For .tk you just type in the website you want the page to redirect to.

Share this post


Link to post
Share on other sites

As kelp said tk is a free url director, if you are looking for a DNS domain I got a free yearly trial .info domain from https://www.domaindiscount24.com/en, even though people say this offer doesn't apply anymore. To configure this you must goto your domaindiscount24 panel and set the name servers as ns1.astahost.com and ns2.astahost.com, then you have to wait for normally 6-8 hours for the dns to configure and then goto your cpanel and goto parked domain and add your domain you configured (eg mysite.com)And if succesfull your cpanel will inform you, then you will have a domain name and it will act just like your Xisto subdomain.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.