Restart Services
This page explains the Restart Services feature in GoAdmio. It lets you restart individual services — Apache, PHP-FPM, MySQL, mail, FTP, SSH, DNS, and the server itself — directly from the Admin Panel, without SSH.
Location: Admin Panel → Restart Services
Overview
Services occasionally need to be restarted: after a configuration change, to recover from a crash, to apply an update, or to clear a stuck state. The Restart Services page provides a simple interface for restarting each core service — no SSH required.
Each service on the page corresponds to a systemd unit on the server. Restarting via the panel runs the equivalent of systemctl restart <service>.
> Warning: Restarting a service briefly interrupts it. Websites may be unavailable for a few seconds. Restart during low-traffic hours, and never restart a service you do not understand — a wrong restart can take the server offline.
Available Services
The page lists the core services of a GoAdmio server:
| Service | What it does | Interruption |
|---|---|---|
| HTTP Server (Apache) | Serves all websites | Short — websites may be unavailable during restart |
| PHP-FPM Service for Apache | Runs PHP scripts for Apache | Short — PHP pages may show 502 during restart |
| MySQL Server | Database server | Short — database queries fail during restart |
| Mail Server (Postfix/Dovecot) | Email sending and receiving | Short — email delivery pauses during restart |
| FTP Server (VSFTPD) | File transfers | Short — active FTP sessions disconnect |
| SSH Server | Remote shell access | Short — active SSH sessions may disconnect |
| DNS Server | Authoritative DNS | Short — DNS lookups may fail during restart |
| Reboot | Restart the entire server | Long — all services stop and restart |
> Tip: Most restarts complete in a few seconds. MySQL and the full reboot are the longest.
How to Restart a Service
Restart Apache (HTTP Server)
- Log in to the GoAdmio Admin Panel.
- Navigate to Restart Services.
- Click HTTP Server (Apache) — or the restart icon next to it.
- Confirm if prompted.
- Wait a few seconds for Apache to restart.
- Verify websites load — see Apache Status.
Restart PHP-FPM
- Open Restart Services.
- Click PHP-FPM Service for Apache.
- Confirm.
- Verify PHP pages load — if they show 502, the FPM restart may still be in progress.
Restart MySQL
- Open Restart Services.
- Click MySQL Server.
- Confirm.
- Wait for MySQL to come back up.
- Verify databases are accessible — see MySQL Databases.
Restart Mail Server
- Open Restart Services.
- Click Mail Server (Postfix/Dovecot).
- Confirm.
- Verify email delivery — see Email Accounts.
Restart FTP Server
- Open Restart Services.
- Click FTP Server (VSFTPD).
- Confirm.
- Verify FTP access — see FTP Accounts.
Restart SSH Server
- Open Restart Services.
- Click SSH Server.
- Confirm.
Restart DNS Server
- Open Restart Services.
- Click DNS Server.
- Confirm.
- Verify DNS resolution — see DNS Manager and Track DNS.
Reboot the Server
- Open Restart Services.
- Click Reboot.
- Confirm.
Verifying the Restart
After restarting a service:
| Service | How to verify |
|---|---|
| Apache | Visit a website; check Apache Status |
| PHP-FPM | Visit a PHP page; check Service Status |
| MySQL | Open phpMyAdmin or run mysqladmin status |
| Mail | Send a test email; check Email Tracking |
| FTP | Connect with an FTP client — see FTP Accounts |
| SSH | Reconnect via SSH — see SSH Port |
| DNS | Run dig example.com — see Track DNS |
| Reboot | Confirm the server is up; check Service Status |
Via CLI
The same restarts from the shell:
```bash
Apache
systemctl restart httpd # RHEL-family
systemctl restart apache2 # Debian-family