default
Regenerate the default "Coming Soon" page and the unpublished-site page templates
- Command:
/go/default - Category: Web server
- Required option: None
- Output: None (files are written silently)
- Last updated: 2026-11-20
On this page: Overview · Quick start · Syntax · Output · What it creates · Examples · Troubleshooting · Details · See also
Overview
/go/default writes the two starter web pages that GoAdmio keeps in its template folder, then runs /go/welcome. It:
- creates the template folders if they are missing
- writes a "Coming Soon" HTML page for sites that have no content yet
- writes a minimal PHP page for unpublished sites that prints the host name
- overwrites both files every time it runs
The command itself only writes the template files. It takes no domain, does not copy the files into any site, and does not edit any virtual host.
Quick start
# Rebuild both template pages
/go/default
Syntax
/go/default
The command takes no options. Any arguments you pass are only recorded in the log, and they change nothing.
It needs root privileges, and it uses sudo for every write.
Output
The command prints nothing itself. The files are written quietly, and anything shown on screen comes from /go/welcome, which runs last.
The exit status is the one returned by /go/welcome, because that is the last step.
What it creates
| File | Purpose |
|---|---|
/usr/local/goadmio/template/default/index.html |
The "Coming Soon" page. |
/usr/local/goadmio/template/publish/index.php |
The unpublished-site page. It prints the host name that was requested. |
The "Coming Soon" page
A single self-contained HTML file with its CSS inline. It shows a centered card with a green clock-style icon (drawn as an SVG) and this text:
- Future home of something quite cool.
- If you're the site owner, log in to launch this site. The link points to
/go. - If you are a visitor, check back soon.
The page title is Coming Soon.
The unpublished-site page
The file contains one line of PHP:
<?php echo $_SERVER['HTTP_HOST']; ?>
It prints the host name from the request, for example example.com, and nothing else.
Examples
# Rebuild the templates and confirm they exist
/go/default
ls -l /usr/local/goadmio/template/default /usr/local/goadmio/template/publish
# Preview the generated page's title
grep -o '<title>.*</title>' /usr/local/goadmio/template/default/index.html
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| My edits to a template file disappeared | Both files are overwritten on every run. | Make permanent changes in the command's script, not in the generated files. |
Permission denied |
The command was not run as root or with sudo. |
Run it as root. |
| A new site doesn't show the page | This command only writes the templates. | Make sure the step that sets up the site uses the template. Use conf if the virtual host needs rebuilding. |
| The unpublished page shows only a domain name | That is all the template prints. | Expected. |
| The template folders are missing | They are created on each run. | Run the command again. |
Details
What it does, in order
- Appends the call, with a timestamp and its arguments, to
/var/log/go/default.log. - Reads the OS name and version from
/usr/local/goadmio/linux/. Neither value is used afterward. - Creates
/usr/local/goadmio/template/defaultand/usr/local/goadmio/template/publishif they don't exist. - Writes the "Coming Soon" page to
default/index.html. - Writes the host-name page to
publish/index.php. - Runs
/go/welcome.
Security
[!NOTE] The unpublished-site page prints the request's host name without escaping it. Browsers and most web server setups limit what a Host header can contain, but you can make the page safer by changing the line to
<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>.
See also
| Command | Description |
|---|---|
503 |
Install the 503 Service Unavailable page for one domain or all domains |
skeleton |
Create or reset the skeleton FTP template account |
create |
Create a GoAdmio account from the command line |
conf |
Rebuild the Apache/Nginx configuration in GoAdmio |