is-a-dev-docs

is-a.dev Documentation

git clone https://github.com/notamitgamer/is-a-dev-docs.git
· rebuilt hourlyOpen on GitHub
root / src / guides / replit.md

replit.md (1115B)


      1 ---
      2 order: 1000
      3 icon: /media/replit.svg
      4 label: Replit
      5 tags: guides
      6 ---
      7 
      8 # Setting up Replit with an is-a.dev subdomain
      9 
     10 ## Creating a project
     11 
     12 Follow the instructions in the [Replit Workspace Guide](https://docs.replit.com/programming-ide/introduction-to-the-workspace#how-to-create-a-repl) on how to create a project.
     13 
     14 ### Connect your Replit site to your is-a.dev subdomain
     15 
     16 Follow the instructions in the [Replit Custom Domains Guide](https://docs.replit.com/features/publishing/custom-domains#connect-a-domain-manually).
     17 
     18 Only follow the "Connect a domain manually" section, then return to this guide for the next steps.
     19 
     20 ### Creating the domain file
     21 
     22 Create a JSON file inside `domains` directory (`domains/subdomain.json`) with the following content:
     23 
     24 **Note:** Do not add any TXT records, even if Replit instructs you to do so.
     25 
     26 ```json
     27 {
     28     "owner": {
     29         "username": "your-github-username"
     30     },
     31     "records": {
     32         "CNAME": "siteid.id.repl.co"
     33     }
     34 }
     35 ```
     36 
     37 ## Finish
     38 
     39 Once your pull request has been merged you should be able to visit your new is-a.dev subdomain connected to your Replit site!