Upload a Dreamweaver site by defining a site and a remote server
A Dreamweaver page in a local folder is not online yet. You need hosting, DNS that points to that hosting, and a correct remote-server setup before using Put. MDN explains what a web server does and the general process to upload files to a web server.
Dreamweaver workflow
- Open the site manager in Dreamweaver. In current versions this is normally under Site and then Manage Sites; exact labels can vary by version.
- Create or edit the local site folder so Dreamweaver knows where
index.html, CSS, scripts, and images are stored. - Add a remote server. For SFTP, enter the host name, port, username, authentication method, and the server root directory, such as
/public_html/or the path supplied by the host. - Enter the site’s web URL, such as
https://www.example.com/, so previewed remote paths match the public address. - Use the Test button before uploading. If the test fails, fix the host, port, username, password/key, firewall, or root directory first.
- Use Put to upload the selected file or the whole site. When Dreamweaver asks about dependent files, upload CSS, JavaScript, and images too.
DNS and hosting checks
- The domain does not have to be bought from the same company as the hosting. Update records at the real DNS provider: registrar DNS, hosting DNS, Cloudflare, or another DNS service.
- If you use a subdomain such as
wwworblog, create the matching A, AAAA, or CNAME record. - The public homepage is usually
index.htmlorindex.phpin the web root directory, not a random local desktop path.
When the upload works but the page looks broken
Check case-sensitive filenames and relative paths. Images/Logo.PNG and images/logo.png can be different files on a Linux host. Also confirm that the CSS and image folders were uploaded, not only the HTML file.