the fast, reliable localhost tunneling solution

Using PageKite with GNU MediaGoblin

By Bjarni RĂșnar Einarsson 2012-05-02, 19:51

What's This?

The end-goal of these instructions is to combine the two, so you end up with a public, secure URL for your MediaGoblin instance, which you can then share with your friends and family. Something like this:

PageKite makes this possible even if you are running MediaGoblin on a laptop which changes networks frequently, on a computer behind a restrictive firewall or even on a virtual machine with no public IP address.

Downloading Everything

When getting started with PageKite, you will want to either install the stand-alone command-line utility, using the instructions on our downloads page, or grab the Debian or RPM package.

See below for hints about which is more appropriate for you.

PageKite as a Development tool

Developers will probably be switching MediaGoblin and PageKite on and off relatively frequently, so the command-line is probably the most appropriate. If you instead prefer the .rpm or .deb package, note that the command is named pagekite instead.

The script will by default listen on port 6543, so it can be made visible to the world with this simple command (replace "yourname" with whatever account name you prefer):

$ 6543

If you use PageKite for other things, you may instead want to register a sub-kite for MediaGoblin:

$ --add 6543

And then fly the kite at any time with:


Live deployment with PageKite

If you want to integrate MediaGoblin into your local nginx or Apache configuration, and want it to always be online whenever your computer has a working Internet connection, then the .deb or .rpm packages are probably the best solution (see above).

You will first need to decide what DNS name to use for your MediaGoblin instance. You can either use a name ending in (create it using the commands above) or your own domain (see CnamePageKites). Whichever you choose, the Apache or Nginx virtual host name must match what you use for PageKite in the commands below.

Once you have chosen a name, you need to ConfigureYourSystem and then create a file named /etc/pagekite.d/80_mediagoblin.rc with the following contents:

# Expose MediaGoblin to the world

Then simply restart the PageKite service:

$ sudo service pagekite restart

At this point, your MediaGoblin should be publicly visible.

As an added bonus, if you chose a name ending in, it will also be available over SSL, using an https:// URL.


  1. Raajhesh Kannaa said on 2012-10-21, 18:46
    This sounds awesome, will give it a try soon. Thank you :)
  2. Richard Thomas said on 2013-01-24, 17:50
    awesome, but typical, I've just done it the hard manual way lol

    but thank you for the great work
  3. Tracy Connor said on 2015-07-07, 13:32
    That would be a great opportunity for my essay writers reviews at to be seen by whole students.
  4. Serit led said on 2016-01-24, 04:00
    led fiyatlari

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!