Publishing to A2Hosting

After struggling for hours to publish from within the app to an A2Hosting shared hosting account, I’m sharing what I’ve learned with the assistance of A2Hosting’s support. Hopefully this will be helpful for others.

  1. create an ftp account from within A2Hosting’s cpanel for your url (e.g. [example.com]) (it could be ftp2myaccount@example.com, or bobatemydog@example.com, what comes before the @ doesn’t matter. Creating this also requires the creation of a password.
  2. contact A2hosting support to obtain a hostname particular to your account. This is a set of gibberish letters and numbers (I’ve invented something here based on the hostname they gave me; I’ve changed out a few letters & numbers). (e.g. [ab1-dk7-bst1.a2hosting.com])
  3. populate the publish settings as follows

name: (whatever you want to call this)

address: [ab1-dk7-bst1.a2hosting.com] (the gibberish hostname provided by A2hosting support - this is not intuitive)

username: your ftp email address (e.g. [bobatemydog@example.com]))

password: (self-explanatory)

Protocol: FTP with implicit SSL

Path: / (yes ONLY a lonely, single forward slash - the path I had home/topdomain/example.com DID NOT WORK)

Port: 21

Passive mode: CHECKED

There might be other ways of doing this, but this one seems to work for me now!

2 Likes

to incrementally publish ‘Changes Only’ from within the Blocs App one needs to use SFTP and sign-in via your cpanel login. See my updated post Publishing ‘Changes Only’ via SFTP to A2 Hosting