Skip to main content

Getting Started

Here in this page we will take a basic understanding about how DOM Cloud works and how to set up your own website quickly.

Create a Website

Go to create a website page. If you haven't logged in, you will be redirected to the login page. Below is the screenshot of that page.

You can either choose to start from a template (left side) or Upload / Clone from the Internet (right side).

Start From Template

If you want to create a website from stratch, start from here. You just have to select which kind of framework or CMS you will start with.

The CMS or Framework can be further edited directly using their respective admin tools from the website or VS Code editor (read below).

Upload or Clone

If you have an existing project on GitHub or your local computer, use this option.

It's easy as dropping your project directory, or copy-pasting your repository URL on GitHub. Then, choose which framework or language it's used to.

info

If your GitHub repo is private, it will ask you to install a new SSH public key (so it can be cloned from this server). Read more about GitHub Integration, this includes set-up a webhook to keep the website in sync with latest commits in repo.

Custom Template

You can skip templates by clicking Custom Template in the right bottom side of the page.

After Choosing Template

After choosing starting template or existing project. The next dialog appears:

On the left side, it contains the YAML template of a template you've selected. The right side contains options to choose where to deploy.

Hostname

This is the server location in which your site will deploy. It shows location, the server spec, the latency from your location, and IP Addresses which will be useful later.

Domain

This is the domain name you want to use for your website. You can enter a custom domain that you own or switch to *.domcloud.dev if you have a paid plan. Read more about integrating custom domain here or default domains here.

If you plan to use a custom domain, The green checkbox will check if your DNS is already configured correctly (by checking if A/AAAA/CNAME record match with IP addresses mentioned). If the check doesn't pass, it will be shown as a warning.

Merge to Parent Domain?

This is a check box that's available if you use an existing website as the parent domain at the same server. If this checked, you'll create a subserver inside that parent, instead of creating from stratch.

Merging to parent domain has the benefit of sharing code with parent domain, also doesn't increasing your instance count. However, managing it may be a little more complex.

Activate DNS Service?

If you've set your domain's Name Server to us, check this box. The validation will be automatically checked as green as we can't check reliably if you've set Name Server correctly.

Username

This is the username you want to use to identify logins to your website. You can leave it random or use any username you want, but it must be unique. This username is invisible to the public.

Click "Add a Website"

After finishing the previous step, you will be directed to the runner page of the newly created website where you can watch the progress of the setup. Below is the screenshot of that page.

You have to wait until the setup is finished.

When it finished there will be a message saying "Your website is ready!" and a button to open the website when it's ready.

Managing Website

You can see these menus to manage your sites.

Menu NameWhat it is?
InfoSite stats, such as today's storage and bandwidth
ManageAccess to site data such as files, databases and SSH keys
DeployThe place to run deployment scripts and manage features
Check ConnectionCheck DNS and connectivity issues preventing your page being displayed properly
Check FirewallCheck If Firewall (Server API whitelist) enabled
Check NGINXEdit NGINX directly or via interactive options
Check DNSEdit DNS (deprecated, edit via Webmin instead)
Check LogsExamine NGINX error, site traffic and application logs
AdminChange username, domain name, password, delete server, etc.

The Info section contains information about your website, such as some general information including storage usage, bandwidth usage, and the server where your website is hosted.

One particular useful tab that you'll use often is the Manage tab. It contains links to edit your website and also credentials to access your website. Below is the screenshot of that page.

Tools that you can use to manage your website are:

Webmin

Webmin is a web-based system management tool. It's mostly useful for:

  • Managing files using a web interface.
  • Creating, importing or dropping database.
  • Viewing NGINX access or error logs, and PHP logs.
  • Set up additional things our portal UI doesn't cover.

PhpMyAdmin / PhpPgAdmin

PhpMyAdmin and PhpPgAdmin is a web-based database management tool for MariaDB and PostgreSQL, respectively. During entry, you will be asked for the database username and password, which is the same as your website username and password (in Manage tab).

info

Database is not enabled by default. If you have problem accessing the database, you need to enable the database first through the Deploy tab. Read more about Configuring Databases.

WebSSH

WebSSH is a web-based SSH client. It's useful for advanced installation that requires CLI access.

info

You can also access SSH through your desktop terminal. Open a terminal then type:

ssh <username>@<domain>

Visual Studio Code

This a link to Visual Studio Code to remotely edit the website using SSH. It's required to have the VS code installed on your computer. During entry, you will be asked for the SSH password, which is the same as your website password.

tip

By default it opens ~/public_html. If you want to open a different directory, use the link from dropdown menu.

info

When asked for which server's OS type VS Code connecting to, choose Linux.

Read more about Remote Development using SSH

Deploy Tab

The deploy tab is where you can configure the rest of your website. Below is the screenshot of that page.

It's a powerful tool to configure (or automate) your website setup. It allows you to:

  • Configure NGINX rules and define how to boots up your websites
  • Configure databases, DNS, TLS, and other services
  • Install additional languages and tools
  • Run custom scripts to automate your deployment

This feature alone is what makes DOM Cloud different from other hosting providers. It's a powerful tool that allows you to configure your website in any way you want. We have dozens of templates (called recipes) to setup your website with various languages and tools. You can also create your own recipes and share it with others.

Read more about Deployments via Deploy Tab

Check Connection Tab

The connection tab let's you check if DNS configured properly. Always check here first if you attach custom domain. It may give you helpful information to diagnose DNS problems and one-click button fixes if possible.

More Reading

Checkout our Deployment Guide to get in depth about our deployment systems!