Application publishing

Commands are about assigning the public URLs to the applications, which essentially is often the way how the newly deployed applications get “published” or “unpublished”.


Assign URL to an application:

$ mcloud publish app [--ssl]

–ssl means


You should publish both SSL and non-SSL version of URL if your application handles two protocols.


Remove an URL assignment from an application:

$ mcloud unpublish [--ssl]

Application name is not needed.

How it works

Publishing means exposing application under external domain name.

First make sure domain name is pointing to the correct ip address by pinging it:

$ ping

Then you can say mcloud to publish application:

$ mcloud -h  publish flask-redis@<ip-here>

Then you will see your domain name in url list in mcloud list command. Load balancer is already reconfigured, so you can open your url in browser.

If you need SSL for your domain, you can publish ssl version of domain as well:

$ mcloud -h <ip-here> publish flask-redis --ssl


Your application should be ready for ssl trafic. read ssl for details.

Unpublish is similar:

$ mcloud -h <ip-here> unpublish


$ mcloud -h <ip-here> unpublish --ssl

App name is not needed here, as MCloud nows to which application app domain belongs. One domain may belong to only one application.


“ –ssl” is different domain than “” by MCLoud opinion, so you can bind SSL version and non-ssl to different applications.