Websites
Use the Website menu (page title Websites) to add domains and subdomains, park domains, manage aliases, set the document root and Force HTTPS, and install free SSL certificates from Let's Encrypt.
Website list
The account's primary domain website is created automatically when the account becomes active, with public_html as its document root. You do not need to add it yourself.
The top of the page has four cards:
| Card | Shows |
|---|---|
| Websites | Number of websites in the account. |
| Domains | Number of domains and aliases across all websites. |
| SSL secured | Number of domains with valid SSL. |
| Needs SSL | Number of domains without valid SSL. |
When a domain has no valid SSL, a notice with an Issue SSL button appears.
The website table has the columns Domain / Website, Document root, PHP, SSL, Status, and Actions. Use the Search domains… box, the website filter, and the SSL status filter to narrow the list:
| SSL status | Meaning |
|---|---|
| Valid | The certificate is active. Its expiry date is shown below. |
| Expiring soon | The certificate is about to expire. |
| Expired | The certificate has expired. |
| Not secured | The domain has no certificate. |
Below the SSL status, the SSL column also shows the result of the last SSL request:
| Note | Meaning |
|---|---|
| SSL request in progress… | The certificate is being requested. Wait a moment. |
| Last SSL request failed | The last request failed. The date and the error message from Let's Encrypt are shown next to it. The note stays visible after the notification disappears. |
| Not covered (no DNS record): … | The certificate was issued, but the listed aliases are not covered because they have no DNS record. |
Aliases are collapsed by default to keep the list short: a website with aliases shows the count and names below its domain, and a Show aliases arrow that expands one row per alias. The table shows 10 websites per page, with page numbers below it.
Below the website table is the Parked domains section. See Parked domains and redirects.
Buttons in the Actions column:
| Button | What it does |
|---|---|
| Manage | Opens the website's management page. See Managing a website. |
| Activity icon | Opens Website health for that website. Active websites only. |
| Pencil icon | Changes the account's primary domain. Only on the row of the active primary domain website. See Changing the primary domain. |
| Trash icon | Deletes an addon domain or subdomain website. See Deleting a website. |
Website status:
| Status | Meaning |
|---|---|
| Active | The website is running and can be changed. |
| Provisioning / Pending | The website is being set up on the server. Wait until it is active. On an account with very many files (e.g. just imported from cPanel), this can take several minutes. |
| Suspended | The website is temporarily stopped. |
| Failed | Setup failed. Contact your hosting provider if it does not recover. |
| Deleting | The website is being deleted. |
Adding a domain or subdomain
Click Add Domain at the top right of the page.
Enter the Domain or subdomain, e.g.
myshop.comorblog.myshop.com.Check the other fields, which are filled in for you:
Field Default Notes Alias www.myshop.comfor top-level domains; empty for subdomainsOther names that show the same website. Separate several with a comma. Check No alias to serve only the domain itself. Aliases count toward the package's parked domain quota, except the www.name of a domain the account already has.Document root ~/public_htmlfor your primary domain,~/public_html/blogforblog.<primary domain>,~/public_html/myshop.comfor other domainsThe folder in your home for the website's files. It is created if missing. PHP version Server default Only versions your package allows. Not shown when your account uses PHP Selector. You can change it later on the PHP page. Click Add.
The new website is set up in the background. Wait until its status is Active.
- A
wwwalias is suggested only for top-level domains, e.g.myshop.comgetswww.myshop.com. Subdomains such asblog.myshop.comusually have nowwwrecord in DNS, which would make SSL fail. - The number of domains and subdomains is limited by your package. The primary domain and addon domains count together; subdomains count separately.
- If the domain uses the panel's nameservers, DNS records are created automatically.
- If the domain does not use the panel's nameservers yet, point the domain to the server first. See the nameservers on the Overview and the records in DNS.
TIP
Once the domain is active and its DNS points to the server, install SSL right away so the site opens over https://.
Managing a website
Click Manage on a website row to open the website's own page. Changes are only possible while the website is Active.
The header shows the domain, the status, and the document root, with these buttons:
| Button | What it does |
|---|---|
| Websites | Back to the website list. |
| Open website | Opens the site in a new tab. Active websites only. |
| Check health | Opens Website health for this website. |
| Issue / renew SSL | See Installing SSL. |
| Delete website | Addon domain and subdomain websites only. See Deleting a website. |
The page has four tabs:
| Tab | Contents |
|---|---|
| General | The Domains panel (domains and aliases) and the Settings panel (document root, PHP version, Force HTTPS, static file proxy). Described below. |
| Access & MIME | IP Blocker, hotlink protection, and extra MIME types. See Website access and logs. |
| Protection & listing | Password-protected directories, leech protection, and directory listing. See Website access and logs. |
| Logs | Error and access logs, with raw log downloads. See Website access and logs. |
Adding an alias
An alias (parked domain) shows the same website content at another address, e.g. myshop.net for the myshop.com website.
- Open Manage on the website, General tab.
- In the Domains panel, type the alias name in the New alias field, e.g.
www.myshop.net. - Click Add alias.
- Click Issue / renew SSL so the certificate also covers the new alias.
To remove an alias, click Remove on the alias row and confirm. The site stops answering on that name.
To park a domain on any of your websites, send its email to the main domain, or redirect it elsewhere, use the Parked domains section on the website list instead. See Parked domains and redirects.
INFO
The website's main domain cannot be removed from the domain list. Only aliases can be removed.
Changing the document root
The document root is the folder whose content the website serves.
- Open Manage on the website, General tab.
- In the Settings panel, change the Document root field, e.g.
public_html/blog/public. - Click Save changes.
Document root rules:
- it must be inside your home folder and cannot be the home folder itself;
- relative paths are relative to your home folder;
- missing folders are created automatically;
- files in the old folder are not moved, so copy your files yourself with the File Manager;
- system folders such as
~/mail,~/tmp,~/logs,~/.ssh, and~/etccannot be used.
Website PHP version
The Settings panel on the General tab has a PHP version option. Choose Server default or a specific version allowed by your package, then click Save changes.
If the server uses CloudLinux PHP Selector, this field shows PHP Selector. The version is set for all websites at once on the PHP page.
Force HTTPS
Turn on Force HTTPS to redirect every http:// request to https://. Click Save changes to apply.
WARNING
Turn on Force HTTPS only after the website's SSL is Valid. Without a valid certificate, visitors see a security warning in their browser.
Static file proxy
Static file proxy makes Nginx serve images, CSS, and JS directly, which makes the site lighter. Turn it on or off, then click Save changes.
Deleting a website
Only addon domain and subdomain websites can be deleted.
- Click the trash icon on the website row, or open Manage and click Delete website.
- Confirm the deletion.
DANGER
The deleted website's domains stop being served right away. Files in the document root, databases, email, and the DNS zone are not deleted. The account's primary domain website cannot be deleted, but its domain can be changed.
Changing the primary domain
You can change the account's primary domain yourself, e.g. from myshop.com to myshop.net.
- Make sure the account and the primary domain website are Active.
- Click the pencil icon on the primary domain website row.
- The Change primary domain dialog shows the Current primary domain:.
- Enter the New primary domain, e.g.
myshop.net. - Click Change domain.
The change is applied in the background. The result:
- the main website answers on the new domain. The old domain's
wwwalias becomeswwwof the new domain when the new domain is a top-level domain; - other aliases, addon domains, and subdomains do not change;
- if the website had a Let's Encrypt certificate, a new certificate for the new domain is requested right away;
- the document root, files, databases, email, and the old domain's DNS zone are kept. A DNS zone for the new domain is created when the server uses the panel's DNS.
Point the new domain's DNS to this server so the site and its SSL work. See DNS.
The change is refused when:
- the new domain is the same as the current one;
- the new domain is a subdomain of the current primary domain. Add it as a subdomain instead;
- the new domain is already used by another account, or by another website of this account. Delete that website first.
INFO
The domain recorded in your hosting provider's services and invoices does not change. Tell your hosting provider if the domain there needs to match.
Installing SSL
Let's Encrypt SSL is free and validated over HTTP for every domain of the website.
- Make sure the domain points to the server.
- Click Issue SSL in the SSL column, or open Manage and click Issue / renew SSL.
- Check the list of domains the certificate will cover. Aliases without a DNS record (e.g.
wwwof a subdomain) are skipped so the main domain still gets its certificate. - Optional: tick Also cover *.myshop.com (wildcard) for a wildcard certificate.
- Click Issue certificate.
The certificate request runs in the background. The SSL status changes to Valid when it is done. If it fails, the error message stays in the SSL column until the next request.
- A wildcard is validated with DNS-01: the panel adds a TXT record to the zone. The zone must be hosted on the panel's DNS and the domain delegated to the panel's nameservers.
- Renewal runs automatically about 30 days before the certificate expires.
- When a certificate is about to expire or renewal fails, you get an email at your contact email (if SSL notifications are on). See Settings.
SSL not issued?
Read the Last SSL request failed message in the SSL column. The most common cause is that the domain's DNS does not point to the server yet. Run a check in Website health. The DNS and HTTP checks show the problem.
Domains behind Cloudflare
If the domain's DNS points to the Cloudflare proxy (orange cloud), visitors get Cloudflare's certificate, not this server's. The panel checks this automatically: when Cloudflare serves a valid certificate for the domain, the SSL status is Valid with the note SSL Cloudflare, and the domain counts as SSL secured.
- Issue origin SSL appears when this server has no certificate of its own. Cloudflare then has to use the Flexible SSL mode, and traffic between Cloudflare and the server is not encrypted. Install an SSL here, then set Cloudflare's SSL mode to Full (strict).
- Let's Encrypt can fail behind Cloudflare (e.g.
403when a Cloudflare firewall rule or Bot Fight Mode blocks/.well-known/acme-challenge/). Allow that path in Cloudflare, or pause the proxy (grey cloud) while issuing, or install a Cloudflare Origin Certificate as a custom SSL. - The check is cached for about 10 minutes, so a DNS change in Cloudflare shows up after a short while.
Visitor statistics
Visitor numbers, popular pages, traffic sources, and bots of each website are on the Statistics menu. See Visitor statistics.
Checking website health
Click the check (activity) icon on an active website row to open Website health with that website already selected.
Features not in the client panel yet
These features exist in MoorCP, but are currently managed by your hosting provider from the admin panel, not from the client panel:
- path redirects within a website (Redirect Manager), e.g.
/oldto/new. Whole parked domains can be redirected from the client panel, see Parked domains and redirects; - custom error pages (400, 401, 403, 404, 500, 502);
- custom SSL certificates (CSR from another CA).
Contact your hosting provider if you need them.
