Create alias
The alias:create command allows you to create a new domain alias for a site.
ploi alias:create
Create an alias for a specific site:
ploi alias:create --server=blue-ocean --site=example.com
Options
| Option | Description |
|---|---|
--server= | The server name or ID |
--site= | The site domain |
When running the command interactively, you will be prompted to enter the alias domain name.
Domain aliases allow your site to respond to multiple domain names.