To create your WordPress website, head to the 'Add site' form and follow the steps below:

  • If you haven't done it yet, choose the server of your workspace that will host your website.
  • Choose your preferred 'PHP' version as the programming language.
  • Choose 'WordPress' as the development framework.
  • Provide the name of the site on the server. The base path to the site on your server is /home/<site-user>/sites/<name>.
  • Provide the root domain of your website (e.g. your-site.com). Note that you must either own such domain or use one based on your server's IP address.
  • Choose the database your application will use. You can either create a new MySQL database and user on the same server or use an existing database and user. Note that the latter may be hosted on any server of the same workspace - Moss will automatically set up the corresponding firewall rules ๐Ÿ˜€
  • Provide the server user that will run your website. Moss proposes one based on the name of your site, but you may create a different user or choose an existing one. If you have multiples websites on a same server, you can isolate them from each other by running them as different users.
  • Choose the SSL certificate that you'll employ for your site. You may tell Moss to generate a free Let's Encrypt certificate or provide your own. If you leave 'None' as certificate, your web won't be reachable through the HTTPS protocol.
  • Check the redirect www to root domain box if you want www.your-site.com to redirect to your-site.com.
  • Check the allow wildcard subdomains box if your website is served from subdomains like abc.your-site.com, def.your-site.com, etc. This option isn't compatible with Let's Encrypt certificates, so you'll have to own a certificate that allows wildcard subdomains or just get rid of HTTPS (something we don't recommend at all).
  • Check the monitoring box if you want Moss to periodically check the health of your website and send you an alert whenever it's down. Usually you'll want to monitor your websites, unless they're for testing or similar environments.
  • Check the install WordPress box if you want Moss to install and set up WordPress on your behalf. This is the recommended option, although you might prefer not using this if you're migrating an existing WordPress.

In the 'Advanced' section you may also edit the following configs:

  • Choose the web server stack for your site. We recommend that you use Nginx as a reverse proxy in front of Apache because some plugins require Apache's .htaccess file, but you may use Nginx as the only web server instead.
  • Provide the root dir within the base path that contains your website's public content (e.g. index.php). E.g. if these files are within a public/ subdirectory, Moss will set up the web server to serve your site from /home/<site-user>/sites/<name>/public.

If you activate the automatic installation of WordPress, you must provide additional information:

  • The title of your blog, i.e. the title of the web you're creating.
  • The username you'll employ to manage your WordPress.
  • The password of such admin user.

Once you're done with the previous configuration, click the 'Add' button and wait until Moss finishes the process.

Moss shows the last completed step at any moment so that you can track the progress of the process.

Voilรก, WordPress is installed and configured ๐Ÿ˜Ž
Your web server is serving the content of the directory /home/<site-user>/sites/<name>/public/.

Check your website is ok

Now it's time to open a browser and visit your site. If you cannot update DNS records at this very moment, you can change your domain name to browse your website leveraging your server's IP address. If you choose this path, bear in mind that you should also change WordPress URI and Site URI.

Otherwise, let's update your DNS records. Head to the 'Domain' tab and Moss will show you the records you must set up in your DNS provider. Such records make the canonical domain of your web point to the external IP address of your server.

Once DNS records have been propagated, and provided you're monitoring this website (only if your plan allows it), after a few minutes you can check that your site is globally reachable by heading to the 'Health' tab.

What's next?

Congratulations! Moss installed, configured, and is monitoring your new website ๐Ÿ˜ƒ . Now you can log into your WordPress dashboard to add content to your web, customize the look&feel, or install your favorite plugins. Or if you prefer, you may keep adding servers and websites with Moss.

Did this answer your question?