/go/proxy switches Cloudflare's proxy (the "orange cloud") on or off for a hosted domain. When the proxy is on, visitors reach Cloudflare first, which hides the server's IP address and adds caching and protection. When it is off, DNS points straight at the server. For a domain, the command: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Turn the Cloudflare proxy on for a domain
/go/proxy example.com on
Options
| Argument | Required | Notes |
|---|---|---|
domain |
Yes | A hosted domain with a /home/<domain>/www folder, or all. |
on |
No | Proxy on. Also accepted: 1, true, --on, --enable. |
off |
No | Proxy off. Also accepted: 0, false, --off, --disable. |
--temporary |
No | Changes Cloudflare but doesn’t save the new value as the domain’s proxy setting. Run /go/proxy <domain> later to go back to the saved setting. |
If you give neither on nor off, the command applies the saved setting.
Examples
# Proxy on, saved
/go/proxy example.com on
# Proxy off, saved
/go/proxy example.com off
# Proxy off for now, without changing the saved setting
/go/proxy example.com off --temporary
# Go back to the saved setting
/go/proxy example.com
# Turn the proxy on for every domain
/go/proxy all on
# Re-apply every domain's saved setting
/go/proxy all
Output
Each domain prints a progress line, then a result line for its main A record.
Proxy example.com (true)...
example.com |
| Line | Meaning |
|---|---|
Proxy <domain> (true)... |
The proxy value being applied: true for on, false for off. With all, the line starts with a counter such as [3/20]. |
| ` | ` |
The www, webmail, and go records report nothing at all.
For a domain that isn’t hosted here (no /home/<domain>/www folder), a single-domain run prints nothing and changes nothing.
Log
Each run appends one line to /var/log/go/proxy.log:
[Nov 21 12:00:00]# proxy example.com on
See the full reference at /go/proxy and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
