Forums
This topic is locked
easy stuff, uploading
Posted 27 Jan 2004 01:43:29
1
has voted
27 Jan 2004 01:43:29 Matt Williams posted:
Hey,I'm just having a few problems uploading my website onto the net. I have a server for hosting, and all the FTP info for this server, but all I can get to come up is a listing of files at the site. I guess I need to set a homepage or something, but I'm not sure how. Can anyone help?
Replies
Replied 27 Jan 2004 02:21:13
27 Jan 2004 02:21:13 Phil Shevlin replied:
I would guess that your not using the correct name for your default document.
They are usually index.htm (or .html) or default.htm (or.html) Your host can tell you what you should name the default.
They are usually index.htm (or .html) or default.htm (or.html) Your host can tell you what you should name the default.
Replied 27 Jan 2004 02:27:41
27 Jan 2004 02:27:41 Dave Thomas replied:
right the listing of files you get in the ftp folder is usually along the lines of
cgi bin - ( for perl , cgi, and other executable script files)
htdocs or www - (this is where you put your .html, .asp. .php etc and images)
private - (you can put databases in here so they cant be downloaded)
logs - (server logs, best leave these alone, until you know a bit more about the set up)
you need to create the page on your pc, mac etc.. then upload it to the htdocs or www folder, whichever one you have. some hosts use public_html, or others, but the names really speak for themselves.
when you create your page / site, call the homepage or whatever page you first want displaying <b>index.html</b> for a html page or <b>default.asp</b> for an asp site.
if you dont include an index or default page when you visit the main url you'll get the dreaded 404 page not found error.
example,
you upload a page called fishing.html to the folder "htdocs"
now if you type in www.mysitename.com << you get 404 error because the server cant find your webpage.
if you type in www.mysitename.com/fishing.html then everything is ok, as you are pointing the server directly to the file
hope that helps
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Edited by - UltraDav on 27 Jan 2004 02:28:08
cgi bin - ( for perl , cgi, and other executable script files)
htdocs or www - (this is where you put your .html, .asp. .php etc and images)
private - (you can put databases in here so they cant be downloaded)
logs - (server logs, best leave these alone, until you know a bit more about the set up)
you need to create the page on your pc, mac etc.. then upload it to the htdocs or www folder, whichever one you have. some hosts use public_html, or others, but the names really speak for themselves.
when you create your page / site, call the homepage or whatever page you first want displaying <b>index.html</b> for a html page or <b>default.asp</b> for an asp site.
if you dont include an index or default page when you visit the main url you'll get the dreaded 404 page not found error.
example,
you upload a page called fishing.html to the folder "htdocs"
now if you type in www.mysitename.com << you get 404 error because the server cant find your webpage.
if you type in www.mysitename.com/fishing.html then everything is ok, as you are pointing the server directly to the file
hope that helps
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Edited by - UltraDav on 27 Jan 2004 02:28:08