Using sFTP to publish an iWeb Site

 

To learn how to publish your iWeb site to a remote FTP server, you can practice on your own computer.

OS X hasn’t FTP readily available, but it has secureFTP, aka SSH, and uses Port 22 instead of Port 21.

In the System preferences it’s called Remote Login. Update FTP

To use it, simply enable it and add the user who is allowed to login. Usually yourself.

Also enable Web Sharing to later view your website.

In iWeb, use these settings.

The server address is either the IP number or the name of your computer.

Username and password are the ones you have entered in your Account settings.

When you login you will arrive in the Home directory.

To publish to the Sites folder in your Home directory you enter Sites as the pathname. If you want to use a folder inside the Sites folder you have to add it to the path.

Note that Sites is not the Sitename in iWeb.

Choose SFTP from the list of protocols.

It defaults to Port 22.

The last field is the URL of the website. iWeb only uses it for the Photoalbum and Blog RSS feeds and subscription links.

And when you click the Visit button it will take you there. Otherwise you have to type the URL yourself.

Test the connection.

iWeb attempts to write a file to the Directory/Path on the server.

The test succeeds when it can do that.

Note that it doesn’t mean it’s the correct location. Only that it can write.

Publish your website.

Then click the Visit Site Now button.

And this is how it looks in the published folder.