Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.03 KB

domain.md

File metadata and controls

63 lines (42 loc) · 1.03 KB
description
Link custom domain to your public url

🏰 Domain (Alpha)

If you are in our cloud

{% hint style="danger" %} This feature is in early-stage development!

Contact [email protected] to be able to test it. {% endhint %}

{% hint style="info" %} Set CNAME in your domain or subdomain to:

abc046369c2ca408fb4e0e33cb35d006-b0f052c2a8fe9e46.elb.eu-west-3.amazonaws.com {% endhint %}

Simple

Copy in production this notebook as a dependency and allow notebooks to use it.

url = "https://public.naas.ai/****/asset/****"
naas.domain.add("google.com", url)

Status

Check the status of domain service

status = naas.domain.status()

Global Add

naas.domain.add("google.com", url)

Get all

Get list of all my registered domain

domains = naas.domain.get()

Delete simple

url = "https://public.naas.ai/****/asset/****"
naas.domain.delete("google.com", url)

Delete global

naas.domain.delete("google.com")