Question:
I'm creating a website I want to upload the website using ftp via dreamweaver?
ashok23
2007-10-01 12:42:12 UTC
when I try to connect via ftp, It is asking for host directory. i dont know what to put there. I know the FTP Host, Login, password. but not host directory. could anyone help me???
I'm creating a website I want to upload the website using ftp via dreamweaver

erroe message is - "cannot make connection to host, remote host cannot found" (IN Dreamweaver)
Six answers:
2007-10-01 13:25:23 UTC
The answer will depend on how your web host is configured.



Typically, when you get assigned an FTP username and password, it takes you to the "root" directory for that username.



On MOST web hosts, that will give you access to a bunch of files that Dreamweaver does not need (like the server access logs), and you'll have a folder there called public_html or something similar, that contains all the files that are accessible from the WEB server.



You should not have to enter ANY name as the directory, to get the default root directory for your username. If you have trouble logging in, try testing with "passive" FTP instead of active (the default).



Once you're logged in, check to see if there is an "index.html" or "index.php" or similar file in the folder. If you see one, then that's the directory you should put into your Site definition... because even though you CAN log into directories ABOVE the public one, it's not a good idea, as some of Dreamweaver's features won't work if the files it's uploading automatically aren't available on the web... things like the test function (F12), configuration of databases for web application "behaviors", and the site map.
topherG
2007-10-01 12:50:28 UTC
Here are some examples for FTP access in Dreamweaver:



FTP Host: sever1.myhost.com

Host Directory: home/public_html/

Login: JohnDoe

Password: ********



To answer your question, the host directory is the directory that Dreamweaver will upload your files to on the server. If you don't tell the program where to put the files, it will get confused.



Also, check to make sure you are using the correct FTP Host. It looks like the error is because you're using an incorrect FTP Host.
?
2017-01-22 14:08:03 UTC
1
2007-10-01 12:48:09 UTC
The error message you receive is not because you havn't specified the host directory.



the host directory is usually something like / or /domain.com/



Check that you have the host correct. That is the issue here. Perhaps the web hosting company requires you to connect with something different from what you might expect.
finch
2007-10-01 12:56:53 UTC
I've just looked at my own websites which I upload via dreamweaver. For example, if your domain name was www.joeblogs.com the sections on that page would be as follows:



Access : FTP

FTP host : joeblogs.com

Host directory : public_html/

login: (username)

password: ************



If your web host does not use the folder name public_html, email them and find out what they call it. Alternately, list the folders they do have and post them back on here. Someone will tell you which one it is.
kilrizzy
2007-10-01 12:47:13 UTC
the host directory is usually labeled as www/htdocs/or public_html



this is just the folder your host has defined to contain your website. It is usually one of the top 3 or you might just leave it blank depending on the host


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...