/go/503: 503 from the Command Line

/go/503 copies GoAdmio's default 503.shtml page into a site's www folder. It: The command only copies the file. It does not change the web server configuration. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Install the 503 page for every hosted domain
/go/503

Arguments

Argument Effect
(none) Installs the page for every domain.
all Installs the page for every domain.
<domain> Installs the page for that domain only.

A domain is processed only when /home/<domain>/www exists. The name is used as typed. It is not checked or normalized.

Examples

# Install the 503 page for every hosted domain
/go/503

# The same, written explicitly
/go/503 all

# Install it for one domain
/go/503 example.com

# Review the log of past runs
tail -n 20 /var/log/go/503.log

Output

The command prints nothing, whether or not it copied anything. To check the result, look at the file:

ls -l /home/example.com/www/503.shtml

The command always finishes without an error status, even when the domain does not exist.

See the full reference at /go/503 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.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *