Custom Domain
When you deploy your application, you'll receive a unique URL for each environment (test, staging, production). By using custom domain, you can replace these default URLs with your own, personalized URL for your application.
-
Create custom domain
Use command :
Using appidinitz create customdomain --appid=<appid> --test=<test> --stg=<stg> --prod=<prod>
Using app nameinitz create customdomain --name=<app-name> --test=<test> --stg=<stg> --prod=<prod>
Flags
--name
- Indicates tha name of the application.
- can use either name or appid
- required
- Shorthand :
n
--appid
- Indicates the id of the application.
- can use either name or appid
- required
--test
- Set URL for test environment.
- Optional
--stg
- Set URL for stage environment.
- Optional
--prod
- Set URL for production environment.
- Optional
-
Get custom domain
Use command :
Using appidinitz get customdomain --appid=<appid>
Using app nameinitz get customdomain --name=<appname>
Flags
--name
- Indicates tha name of the application.
- can use either name or appid
- required
- Shorthand :
n
--appid
- Indicates the id of the application.
- can use either name or appid
- required