| | 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. |
| Nov 21, 2009 |
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.
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. CODE <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 CODE <img src="IMAGEFOLDER/underconstruction.png" alt="Under Construction">
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.
QUOTE (chronogamer28 @ Sep 22 2004, 11:02 PM) 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. 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"> 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
Well, I am uploading everthing to the public_html folder and my site is working fine: http://www.bmw-central.tk
Alright, I've got a .tk domain, but how do I make it compatible with astahost?
.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.
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 www.domaindiscount24.com, 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 astahost subdomain.
Similar Topics
Keywords : uploading, files, internet
(20) Hey, how do i CHMOD certain files, i need to CHMOD some files to 0777 but i dont know how :-\ i use (7) I had a question, the files on the ftp, can I just delete them? Or, what can I delete, and what must Drag and drop files easily to your accnt (10) Windows has a feature called "Network Places". This can be used for uploading stuff for your site Unable to upload any files. (4) I first used Frontpage to upload my site....it never used to be uploaded completely..some folders To upload your files. (6) I ur using frontpage to make your site(Like me) then you might prefer to use its inbuilt FTP client. So you can upload files (1) You can download and use any FTP client you like. I'm using SmartFTP so that is what my HELP (14) I have accidentaly deleted some of the original files found on my accound server /sad.gif" help me (9) hi every one how i can chmod my files to 666 via ftp program or ssh access please help me best (13) Is using the File Manager in Cpanel better than using FTP software to upload and manage files? Is Looking for uploading, files, internet
|
![]() Uploading the files via the Internet |
Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com