...
First create a CNAME to your app using your DNS manager (e.g. AWS Route53, GoDaddy, etc.):
Code Block |
---|
host api-hub.mydomain.com |
...
# => api-hub.mydomain.com is |
...
an alias |
...
(CNAME) |
...
for |
...
enhanced-tuna-1.my-nex-domain.com |
Code Block |
---|
# Create a domain |
...
nex-cli domains:create api-hub.mydomain.com |
...
$app # Add the SSL certs nex-cli certs:create api-hub.mydomain.com $app --cert path-to-the-cert.crt --bundle path-to-the-bundle.crt --privkey .path-to-the-private.key.pem |