MDB CLI Configuration
This page contains configurations options for adding new domains, setting up git repository and more.
Add custom domain to your project
MDB GO allows you to add a custom domain to your project. In other words, if you are owner of
yourdomain.com you can use this domain for your MDB GO project.
EDIT button. This will open an edit modal, simply enter a new domain name and click
You can also set the domain name by running the following command inside the MDB project:
$ mdb config domain <yourdomain>
mdb config domain mydomain.com)
2. Set the correct DNS record depending on the type of domain you are using:
custom domain with SSL - set A record pointing to
subdomain with SSL - set CNAME pointing to
custom domain without SSL - set A record pointing to
Note: Configuration of the DNS records vary depending on hosting provider. In order to edit A record you have to sign in to your hosting provider where you bought domain and search for DNS configuration. Watch the video to see sample configuration on OVH. Warning! If you already have one or more A records referring your domain name, please delete them first because otherwise, it won't work properly. Be careful though, do not change any A records that do not refer your exact domain name because you may break some other things. If you are not sure what to do, please contact our Support.
Add git repository to your project
If your project doesn't have repository you will see X next to "Repository" field.
In case your project already have a repository you will see a link to it.
CREATE button. This will create a git repository and submit your currently deployed code into a new repository.
Now you can navigate to your git project, review history, manage access and more.
From now on whenever you run
mdb get command to download your MDB GO project to your local computer it will clone the project from GIT repository (instead of downloading it