Skip to main content

Tunnel My ...


Wordpress is configured to run under a specific URL, usually http://localhost. This is excellent for local development but not for being on the internet.

Follow the instructions at to set the URL of your wordpress installation.


Free domains change after a period of time and are not recommended for Wordpress due to Wordpress's lengthy URL update procedure.

If you will primarily be developing Wordpress sites please consider a Custom Domain plan from This will give your tunnel a stable domain name which you only need to configure once.


If you want to use Wordpress with a free domain you can explore and setting WP_HOME and WP_SITEURL to 'https://' . $_SERVER['HTTP_HOST'], but please pay attention to the warnings on the relative-url plugin.

Favourite Web framework

If you see requests going to localhost:{your locally running apps port} in your browsers dev tools when browsing your site through check your framework for reverse proxy settings.

More information can be found in the faq.

SSH servers

With a custom domain plan it is possible to tunnel to a SSH server using stunnel on the SSH client.

  1. On the SSH server make sure your tunnel is connected:

    ssh -R

    This must be running to connect to SSH from your client computer.

    The rest of this guide is for the client computer.

  2. Install stunnel on your client SSH computer.

    stunnel is an application that wraps TCP, like SSH, in TLS.

  3. Configure it to wrap connections to localhost:2222 in TLS and send them to your custom domain by creating a file named stunnel.conf

    foreground = yes
    pid = ./
    client = yes
    accept = localhost:2222
    connect =
  4. Run stunnel stunnel.conf in a terminal. This command must be running to connect to SSH.

  5. Run ssh localhost -p 2222 to connect over the tunnels to your SSH server.