Skip to content

Creating site

You can create site with WordOps by using the command wo site create.

WordOps will always :

  • install required stack if needed
  • configure Nginx vhost
  • create site directory

WordOps can also :

  • create the site database
  • install WordPress (with or without caching)
  • secure site with Let's Encrypt SSL certificate

You can see all the options available to create site in the command list site create

Additional informations

Component Path
Site files /var/www/site.tld/htdocs
wp-config.php /var/www/site.tld/wp-config.php
Additional Nginx conf /var/www/site.tld/conf/nginx/
Site access/error logs /var/www/site.tld/logs

Examples

Basic site

Basic html site

wo site create site.tld --html

Simple PHP site

wo site create site.tld --php

Simple PHP + MySQL site

wo site create site.tld --mysql

WordPress site

Simple WordPress site

wo site create site.tld --wp

WordPress site with Nginx fastcgi_cache

wo site create site.tld --wpfc

WordPress site with Redis cache

wo site create site.tld --wpredis

PHP 7.3

Simple PHP 7.3 + MySQL site

wo site create site.tld --mysql --php73

Simple PHP 7.3 site

wo site create site.tld --php73

Simple WordPress site with PHP 7.3

wo site create site.tld --wp ---php73

Let's Encrypt

WordPress site secured with Let's Encrypt

wo site create site.tld --wp --letsencrypt

WordPress site on subdomain secure with Let's Encrypt

wo site create sub.site.tld --wp --letsencrypt=subdomain

WordPress site with PHP 7.3 and secured by Let's Encrypt

wo site create site.tld --wp --php73 --letsencrypt

Create WordPress subdomain multisite secured with a Let's Encrypt Wildcard SSL certificate

Info

More informations about wildcard SSL certificates our guide about DNS API configuration

wo site create site.tld --wpsubdomain --letsencrypt=wildcard --dns=dns_cf