Skip to content

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:

CardShows
WebsitesNumber of websites in the account.
DomainsNumber of domains and aliases across all websites.
SSL securedNumber of domains with valid SSL.
Needs SSLNumber 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 statusMeaning
ValidThe certificate is active. Its expiry date is shown below.
Expiring soonThe certificate is about to expire.
ExpiredThe certificate has expired.
Not securedThe domain has no certificate.

Below the SSL status, the SSL column also shows the result of the last SSL request:

NoteMeaning
SSL request in progress…The certificate is being requested. Wait a moment.
Last SSL request failedThe 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:

ButtonWhat it does
ManageOpens the website's management page. See Managing a website.
Activity iconOpens Website health for that website. Active websites only.
Pencil iconChanges the account's primary domain. Only on the row of the active primary domain website. See Changing the primary domain.
Trash iconDeletes an addon domain or subdomain website. See Deleting a website.

Website status:

StatusMeaning
ActiveThe website is running and can be changed.
Provisioning / PendingThe 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.
SuspendedThe website is temporarily stopped.
FailedSetup failed. Contact your hosting provider if it does not recover.
DeletingThe website is being deleted.

Adding a domain or subdomain ​

  1. Click Add Domain at the top right of the page.

  2. Enter the Domain or subdomain, e.g. myshop.com or blog.myshop.com.

  3. Check the other fields, which are filled in for you:

    FieldDefaultNotes
    Aliaswww.myshop.com for 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_html for your primary domain, ~/public_html/blog for blog.<primary domain>, ~/public_html/myshop.com for other domainsThe folder in your home for the website's files. It is created if missing.
    PHP versionServer defaultOnly versions your package allows. Not shown when your account uses PHP Selector. You can change it later on the PHP page.
  4. Click Add.

The new website is set up in the background. Wait until its status is Active.

  • A www alias is suggested only for top-level domains, e.g. myshop.com gets www.myshop.com. Subdomains such as blog.myshop.com usually have no www record 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:

ButtonWhat it does
WebsitesBack to the website list.
Open websiteOpens the site in a new tab. Active websites only.
Check healthOpens Website health for this website.
Issue / renew SSLSee Installing SSL.
Delete websiteAddon domain and subdomain websites only. See Deleting a website.

The page has four tabs:

TabContents
GeneralThe Domains panel (domains and aliases) and the Settings panel (document root, PHP version, Force HTTPS, static file proxy). Described below.
Access & MIMEIP Blocker, hotlink protection, and extra MIME types. See Website access and logs.
Protection & listingPassword-protected directories, leech protection, and directory listing. See Website access and logs.
LogsError 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.

  1. Open Manage on the website, General tab.
  2. In the Domains panel, type the alias name in the New alias field, e.g. www.myshop.net.
  3. Click Add alias.
  4. 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.

  1. Open Manage on the website, General tab.
  2. In the Settings panel, change the Document root field, e.g. public_html/blog/public.
  3. 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 ~/etc cannot 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.

  1. Click the trash icon on the website row, or open Manage and click Delete website.
  2. 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.

  1. Make sure the account and the primary domain website are Active.
  2. Click the pencil icon on the primary domain website row.
  3. The Change primary domain dialog shows the Current primary domain:.
  4. Enter the New primary domain, e.g. myshop.net.
  5. Click Change domain.

The change is applied in the background. The result:

  • the main website answers on the new domain. The old domain's www alias becomes www of 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.

  1. Make sure the domain points to the server.
  2. Click Issue SSL in the SSL column, or open Manage and click Issue / renew SSL.
  3. Check the list of domains the certificate will cover. Aliases without a DNS record (e.g. www of a subdomain) are skipped so the main domain still gets its certificate.
  4. Optional: tick Also cover *.myshop.com (wildcard) for a wildcard certificate.
  5. 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. 403 when 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. /old to /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.

See also ​

MoorCP Shared, a shared hosting panel for server fleets.