Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Uploading the files via the Internet
chronogamer28
post Sep 21 2004, 08:58 PM
Post #1


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 143
Joined: 17-September 04
From: United States
Member No.: 674



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.
Go to the top of the page
 
+Quote Post
kc8yff
post Sep 21 2004, 10:44 PM
Post #2


Advanced Member
Group Icon

Group: Members
Posts: 100
Joined: 7-September 04
From: Michigan, USA
Member No.: 368



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.
Go to the top of the page
 
+Quote Post
chronogamer28
post Sep 21 2004, 11:08 PM
Post #3


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 143
Joined: 17-September 04
From: United States
Member No.: 674



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.
Go to the top of the page
 
+Quote Post
deivid
post Sep 22 2004, 08:09 AM
Post #4


Member - Active Contributor
Group Icon

Group: Members
Posts: 96
Joined: 15-September 04
Member No.: 588



First you've to remove quotes

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





Go to the top of the page
 
+Quote Post
chronogamer28
post Sep 22 2004, 10:02 AM
Post #5


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 143
Joined: 17-September 04
From: United States
Member No.: 674



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.
Go to the top of the page
 
+Quote Post
mastercomputers
post Sep 22 2004, 10:39 AM
Post #6


BUG.SWAT.PATROL
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



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
Go to the top of the page
 
+Quote Post
kc8yff
post Sep 22 2004, 12:45 PM
Post #7


Advanced Member
Group Icon

Group: Members
Posts: 100
Joined: 7-September 04
From: Michigan, USA
Member No.: 368



Well, I am uploading everthing to the public_html folder and my site is working fine: http://www.bmw-central.tk
Go to the top of the page
 
+Quote Post
chronogamer28
post Sep 22 2004, 08:00 PM
Post #8


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 143
Joined: 17-September 04
From: United States
Member No.: 674



Alright, I've got a .tk domain, but how do I make it compatible with astahost?
Go to the top of the page
 
+Quote Post
kelp
post Sep 22 2004, 09:31 PM
Post #9


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 65
Joined: 12-September 04
Member No.: 513



.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.
Go to the top of the page
 
+Quote Post
prodigy
post Oct 17 2004, 02:45 AM
Post #10





Guests






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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Accidental Delete of files in FTP Account(14)
  2. How To Setup Smartftp(1)
  3. How To Setup Frontpage(6)
  4. Uploading Problems(4)
  5. Network Places: Alternative To Ftp On Windows(10)
  6. The Files(7)
  7. How Do I Chmod Files On Astahost ?(20)
  8. Having Trouble Deleting .pureftpd-upload...(3)


 



- Lo-Fi Version Time is now: 5th September 2008 - 11:35 AM