Get Online
Update
Change Maker V3 online access requires customized deployment package. Change Maker V4 will include a automated process for getting online. If wanting to deploy asap email [email protected] for partnership opportunities or follow manual.
This guide will help you get your site online quickly and easily. By following these steps, you can have your site up and running in no time. We are recommending the service that we use to get online, which is Cloudflare. There are dozens of ways to host your site and application online. This guide will walk you through the process of setting up Cloudflare Tunnel to get your site online.
Alternatives to Cloudflare Tunnels
If Cloudflare Tunnels don't meet your needs, here are some other options to consider:
NGINX Reverse Proxy
- Use NGINX to route traffic to your local server.
- Provides load balancing, SSL termination, and caching.
Apache Reverse Proxy
- Similar to NGINX, but uses Apache HTTP Server.
- Offers extensive configuration options and modules.
Localtunnel
- Quickly expose your local server to the internet.
- Easy to set up with minimal configuration.
Ngrok
- Provides secure introspectable tunnels to localhost.
- Offers additional features like custom subdomains and webhooks.
Serveo
- Another tool to expose local servers to the internet.
- No installation required, works over SSH.
Each of these alternatives has its own set of features and benefits, so you can choose the one that best fits your requirements.
What is Cloudflare?
Cloudflare is a service that provides a range of features to improve the security, performance, and reliability of your website. It acts as a reverse proxy between your website visitors and your web hosting provider. Why we use Cloudlfare:
- Security: Protects your site from malicious attacks, including DDoS attacks, by filtering traffic before it reaches your server.
- Performance: Speeds up your website by caching content and serving it from data centers around the world.
- Reliability: Ensures your site remains available even if your server goes down by using its global network to keep your site online.
The Cloudflare backend and admin tools are also quite powerfull; allowing you to manage your site, monitor traffic, and configure security settings all in one spot. We quite enjoy the free analytics that are not pervasive trackers; just simple info about where people are visiting your site from.
Before You Start
- You need a domain name (like yoursite.com)
- Your domain should be using Cloudflare (they have a free plan)
- Make sure Change Maker is working on your computer first
Installing Cloudflare Tunnel
- Download Cloudflared
- Windows: Download the latest release from https://github.com/cloudflare/cloudflared/releases
- Mac:
brew install cloudflare/cloudflare/cloudflared
-
Linux:
-
Login to Cloudflare
Follow the browser prompts to authenticate.
Setting Up Your Tunnel
Create the Tunnel
- Open Terminal (Command Prompt on Windows)
- Type:
cloudflared tunnel create change-maker-site
- Copy the Tunnel ID it gives you (you'll need this)
Create the Settings File
- On Windows, create this folder:
C:\Users\YOUR-USERNAME\.cloudflared
- On Mac/Linux, it's in:
~/.cloudflared
- Create a file called
config-site.yml
in that folder - Open it with Notepad (Windows) or any text editor
Add These Settings
tunnel: YOUR-TUNNEL-ID
credentials-file: ~/.cloudflared/YOUR-TUNNEL-ID.json
ingress:
- hostname: yoursite.com
service: http://localhost:4000
- hostname: cmeditor.yoursite.com
service: http://localhost:3000
- hostname: listmonk.yoursite.com
service: http://localhost:9000
- service: http_status:404
YOUR-TUNNEL-ID
with the ID from step 1
- yoursite.com
with your actual website address
Connect to Cloudflare
- Go to cloudflare.com and log in
- Click on your domain
- Click "DNS"
- Add a new record:
- Type: CNAME
- Name: @ (or leave blank)
- Target: YOUR-TUNNEL-ID.cfargotunnel.com
- Proxy status: Proxied (orange cloud)
Secure Site
If you are publically serving your site, it is recommended to secure your cmeditor and listmonk sites. This can be done by setting up Cloudflare Access.
Starting Your Tunnel
Secure Your CMeditor
Make sure your CMEditor is secure and only accessible by you. Access to the system backend can be a security risk.
Method 1: Running Manually (Easiest to Start With)
- Start the Tunnel
- Open Terminal/Command Prompt
- Type:
cloudflared tunnel --config ~/.cloudflared/config-site.yml run
- Leave this window open
Method 2: Running as Background Services (More Advanced)
On Windows:
On Mac/Linux:
Checking If Everything Works
-
Start Change Maker:
-
Make sure your tunnels are running (you should see messages in those windows)
-
Try visiting your sites:
-
Main website:
https://yoursite.com
- Editor:
https://cmeditor.yoursite.com
- Listmonk:
https://listmonk.yoursite.com
Making Changes Manually (if needed)
If you need to change things by hand, here's what to do:
1. Change Your Website Address
Open these files and update the website address:
In mkdocs.yml
:
In docker-compose.yml
:
In constants.js
:
2. Change Editor Address
Look for cmeditor.yoursite.com
in these files:
- docker-compose.yml
- constants.js
- server.js
Troubleshooting
Common Problems and Solutions
"Something's already using that port"
- Change the port numbers in the setup
- Or close other programs that might be using those ports
"Can't connect to the website"
- Make sure Change Maker is running
- Check that your Cloudflare tunnels are running
- Try opening the site on your computer first (localhost)
"Editor won't save changes"
- Check that all addresses match in your setup
- Make sure you're using https:// for web addresses
- Restart Change Maker if needed
Common Tunnel Problems
"Tunnel Not Connected"
- Check that both tunnel windows are still open
- Make sure you see "connected" messages
- Try running the tunnel command again
"Can't Find Certificate"
- Your settings files might be in the wrong place
- Double-check the folder names and locations
- Run
cloudflared tunnel login
and try again
"Wrong Address"
- Make sure all your domain names match exactly
- Check Cloudflare DNS settings
- Look for typos in config files
"Editor Not Working"
- Make sure both tunnels are running
- Check that Change Maker is running
- Verify all your addresses match in the files we changed earlier
Keeping Your Editor Private (Recommended)
- Go to Cloudflare Zero Trust
- Create an Access Policy:
- Click "Applications"
- Add new application
- Choose "Self-hosted"
- Enter
https://cmeditor.yoursite.com
- Add your email under "Allowed Users"
- Now only you can access the editor
Need Help?
If things aren't working: 1. Check that Change Maker is running 2. Make sure your tunnels are running 3. Look for error messages in the terminal windows 4. Try restarting everything
Safety Tips
- Keep your editor address private
- Use strong passwords
- Regular backups are a good idea
- Keep your computer's security up to date
Backup Your Work
Quick Backup
- Find your Change Maker folder
- Copy the whole
docs
folder somewhere safe - That's your content backed up!
Restore from Backup
- Just copy your backed-up
docs
folder back - Restart Change Maker
- Your content should be back
After Setup
Remember to:
- Keep the program running when you want your site available
- Make regular backups of your content
- Keep your domain and Cloudflare account active
- Update your software regularly
Need more help? Check the technical manual for detailed instructions or ask in the community forums.