Setting up Replit with an has-a.space subdomain
Creating a project
Follow the instructions in the Replit Workspace Guide on how to create a project.
Connect your Replit site to your has-a.space subdomain
Follow the instructions in the Replit Custom Domains Guide.
Only follow the "Connect a domain manually" section, then return to this guide for the next steps.
Creating the domain file
Create a JSON file inside domains directory (domains/subdomain.json) with the following content:
Note: Do not add any TXT records, even if Replit instructs you to do so.
{
"owner": {
"username": "your-github-username"
},
"records": {
"CNAME": "siteid.id.repl.co"
}
}
Finish
Once your pull request has been merged you should be able to visit your new has-a.space subdomain connected to your Replit site!