Skip to main content
Version: 2.0.14

Domains

To create a website, the first step is to add a domain name.

If the Domains module is enabled on the server and your user account has access to it, you'll see a table listing all current domains, the total number of domains, a search bar, filters, and an option to add a new domain.

Domains page listing domains with their status, PHP version, SSL certificate and WAF toggle Domains page listing domains with their status, PHP version, SSL certificate and WAF toggle

From this interface, you can view:

  • Status: Active or Suspended
  • Document Root: the folder where the website files are stored
  • PHP Version used by the domain
  • SSL: the state of the domain's certificate, see SSL column
  • WAF: a toggle to turn the firewall on or off, see WAF column
  • Cloudflare: an orange cloud next to the domain name when it only accepts traffic from Cloudflare, see Cloudflare-only access
  • Actions: a menu with the options your plan includes

Use Show Columns to choose which columns are shown, your choice is remembered in the browser. The Websites (number of websites on the domain), Link, Type and Redirect columns are hidden by default.

Filters​

Next to Show Columns are filters to narrow down the list:

  • Status: All, Active or Suspended
  • PHP Version: each PHP version used by your domains
  • SSL: AutoSSL or Custom SSL, if the SSL feature is enabled
  • Type: Domain or Subdomain
  • Redirect: with or without a redirect, if the Redirects feature is enabled

Filters work together with the search bar, and the counter below the table shows how many domains match. On small screens the filters are grouped under a single Filters button.

Status filter open next to Show Columns, with the PHP Version, SSL, Type and Redirect filters beside it Status filter open next to Show Columns, with the PHP Version, SSL, Type and Redirect filters beside it

SSL column​

If the SSL feature is enabled, the SSL column shows the state of each domain's certificate:

ShownMeaning
Valid until dateThe certificate is valid until that date.
Expires dateThe certificate expires within 14 days.
Expired dateThe certificate has expired.
Not issued yetAutoSSL hasn't issued a certificate for the domain yet, or the custom certificate file is missing.
UnreadableThe certificate file exists but can't be read.

Hover over it to see whether the domain uses AutoSSL or a custom certificate and who issued it. Click it to open the domain's SSL settings.

WAF column​

If the WAF feature is enabled, the WAF column has a toggle to turn the Web Application Firewall on or off for the domain. Hover over the toggle to see whether it is on, off or set to monitor only. To change the protection level or app profiles, choose Manage WAF from the Actions menu.

Available Actions​

Depending on the features enabled on your server, the following actions are available from the Actions dropdown menu per domain:

  • Edit DNS Zone β€” if the DNS feature is enabled
  • Manage WAF β€” if the WAF feature is enabled
  • Restrict to Cloudflare / Remove Cloudflare restriction β€” see Cloudflare-only access
  • Change docroot β€” if the docroot feature is enabled
  • Edit VirtualHosts β€” if the VHosts editor is enabled
  • Capitalize β€” if the Capitalize feature is enabled
  • Suspend / Unsuspend β€” if the Suspend feature is enabled
  • Delete

Actions menu of a domain with Edit DNS Zone, Manage WAF, Remove Cloudflare restriction, Change docroot, Edit VirtualHosts, Capitalize, Suspend and Delete Actions menu of a domain with Edit DNS Zone, Manage WAF, Remove Cloudflare restriction, Change docroot, Edit VirtualHosts, Capitalize, Suspend and Delete

In addition, if the Redirects feature is enabled, the Redirect column lets you create, edit, or delete a redirect directly from the table without opening the dropdown menu. It's hidden by default, turn it on from Show Columns.

Cloudflare-only access​

If your domain is proxied through Cloudflare (the orange cloud is on in your Cloudflare DNS settings), you can make it accept traffic only from Cloudflare. Visitors that reach the server directly, for example by pointing the domain to your server IP in their hosts file, get a 403 error instead of the website. This keeps attackers from going around Cloudflare's firewall and DDoS protection.

To turn it on, open the domain's Actions menu and click Restrict to Cloudflare. An orange cloud appears next to the domain name.

Domain restricted to Cloudflare with the orange cloud icon next to its name Domain restricted to Cloudflare with the orange cloud icon next to its name

To turn it off, click Remove Cloudflare restriction in the same menu.

Only restrict domains that are proxied through Cloudflare. If the domain points straight to your server, every visitor gets a 403 error.

To change several domains at once, use the Cloudflare bulk action. Cloudflare-only access is not available for .onion domains.

Bulk Actions​

Tick the checkbox of one or more domains, or the checkbox in the table header to select every domain shown by the current search. A bar appears at the bottom of the page with the number selected, a Clear link and these actions:

A domain selected with the bulk actions bar offering Suspend, Unsuspend, Change PHP version, Redirect to, Remove redirect, WAF, Cloudflare and Delete A domain selected with the bulk actions bar offering Suspend, Unsuspend, Change PHP version, Redirect to, Remove redirect, WAF, Cloudflare and Delete

ActionWhat it does
SuspendSuspends the selected domains, visitors see a suspended page.
UnsuspendMakes the selected domains available again.
Change PHP versionSwitches the selected domains to the PHP version you pick.
Redirect toRedirects the selected domains to the URL you enter, starting with http:// or https://.
Remove redirectRemoves the redirect from the selected domains.
WAFTurns the firewall On or Off for the selected domains.
CloudflareRestrict to Cloudflare or Unrestrict the selected domains, see Cloudflare-only access.
DeletePermanently deletes the selected domains, including their websites, files and DNS zones.
INFORMATION

Actions only show when your plan includes that feature, for example Suspend and Unsuspend need domain suspension, and Change PHP version needs PHP. Selected domains that don't support an action, like a domain that is already suspended, are skipped.

Click an action, pick a value if it asks for one, confirm it, and it runs on the selected domains one after another. When it's done the page reloads with a notice listing the domains it worked for, or which ones failed and why.

Cloudflare bulk action asking whether to restrict the selected domains to Cloudflare or unrestrict them Cloudflare bulk action asking whether to restrict the selected domains to Cloudflare or unrestrict them

Create a New Domain​

To add a new domain:

  1. Click the "New Domain" button.
  2. Enter the domain name.
  3. Click "Add Domain" to save.

Unlike other panels, OpenPanel treats all domains equally. From this single interface, you can add primary domains, addon domains, or subdomains.

New Domain form with the domain name and document root fields New Domain form with the domain name and document root fields

Once added, the system will automatically attempt to issue a free Let’s Encrypt SSL certificate. If successful, the certificate will be applied immediately.

Delete a Domain​

To delete a domain:

  1. Click the "Delete" option from the domain's dropdown menu.
  2. A confirmation page will appear. Click "Delete Domain" to proceed.

Delete domain confirmation page with the Delete Domain button Delete domain confirmation page with the Delete Domain button

If the domain has subdomains or is linked to websites (e.g. Node.js, Python or WP Manager), deletion will be blocked until those are removed. This prevents accidental removal of domains tied to running websites.

Deleting a domain will permanently remove the following:

  1. Web server configuration for the domain, including its redirect, WAF and Cloudflare-only settings
  2. DNS zone with all its records
  3. SSL certificate
  4. Access logs and WAF logs
  5. Email accounts on the domain, the messages stay on disk

Files in the domain's document root are kept.

Redirects​

Add Redirect​

To create a redirect:

  1. Click the "Create Redirect" button next to the domain.
  2. Enter the full URL (must start with http:// or https://).
  3. Click "Save" to apply or "Cancel" to discard.

Edit Redirect​

Click the pencil icon next to an existing redirect URL to modify it.

Delete Redirect​

Click the cross icon next to the redirect URL to remove it.

Edit VirtualHosts File​

The VirtualHosts file defines the configuration for the domain within Nginx or Apache. It includes settings such as:

  • Access logs
  • PHP version
  • Application runners
  • Redirect rules
  • Custom directives

To edit this file:

  1. Click "Edit VirtualHosts" from the domain’s dropdown menu.
  2. A new page will open with the Vhost file content.
  3. Make your changes and click "Save Changes".

Once saved, OpenPanel will automatically restart the webserver to apply changes.