mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-19 17:28:48 +00:00
1.0 KiB
1.0 KiB
For other hosting services
Domains file
Create a json file inside the domains directory (domains/<subdomain>.json) with the following contents
{
"description": "Add some description",
"repo": "https://github.com/github-username",
"owner": {
"username": "github-username",
"email": "any@email"
},
"record": {}
}
Record
In your record key of the json file, you need to add one of the following -
- CNAME record
{
"record": {
"CNAME": "the-domain-you-own.com"
}
}
- A records
{
"record": {
"A": [
"69.69.69.69",
"69.69.69.70"
]
}
}
- URL redirection
{
"record": {
"URL": "https://your-website.com"
}
}
Configuring your server
After the pull request is merged, configure your server (apache, nginx, whatever) to work with <subdomain>.is-a.dev. If you are unsure how to configure your server, you can create an issue for support.
You should also, include <subdomain>.is-a.dev in your ssl certificate to get rid of certificate errors