Answers.Body: <p>It probably because nitro doesn't overwrite your host file. You may need to edit it yourself using nano (assuming you're on linux).</p>
  <p>sudo nano /etc/hosts</p>
  <p>you will need to provide</p>
  <ul>
  <li>the IP address- that you can find using <code>nitro info</code> in the terminal or by opening the nitro-dev shell in multipass</li>
  <li>the hostname- example.test or whatever else that may be</li>
  </ul>
  <p>There is a github issue raised for it, see <a href="https://github.com/craftcms/nitro/issues/213" rel="nofollow noreferrer">https://github.com/craftcms/nitro/issues/213</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-12-03T22:31:27.180Z
Answers.LastActivityDate: 2020-12-03T22:31:27.180Z
Answers.UserDisplayName: Aron
Body: <p>When i try nitro add command to they return &quot;There are no sites in the config file&quot; what should i do?</p>
  <pre><code>Unable to locate a webroot, setting to web.
  Enter the webroot [web] web
  Added tutorial.test to config file
  Apply changes from config? [yes] yes
  Mounting ~/Nitro/projects/tutorial to nitro-dev
  Adding site tutorial.test to nitro-dev
  Applied changes from /home/pedro/.nitro/nitro-dev.yaml                          
  [sudo] senha para pedro: 
  There are no sites in the config file.
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-05T18:55:59.783Z
Comments.Text: Can you edit your question and share the contents of `/home/pedro/.nitro/nitro-dev.yaml`?
Comments.UserDisplayName: Brad Bell
Tags: <craft3><composer><nitro>
Title: There are no sites in the config file on nitro add
ThreadText: # There are no sites in the config file on nitro add
  
  (Asked by: username_0 on 2020-11-05)
  
  When i try nitro add command to they return "There are no sites in the config file" what should i do?
  
  ```
  Unable to locate a webroot, setting to web.
  Enter the webroot [web] web
  Added tutorial.test to config file
  Apply changes from config? [yes] yes
  Mounting ~/Nitro/projects/tutorial to nitro-dev
  Adding site tutorial.test to nitro-dev
  Applied changes from /home/username_0/.nitro/nitro-dev.yaml                          
  [sudo] senha para username_0: 
  There are no sites in the config file.
  
  ```
  
  **Tags:** craft3, composer, nitro
  
  > **Comments:**
  > **username_1**: Can you edit your question and share the contents of `/home/username_0/.nitro/nitro-dev.yaml`?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-12-03. Score: 1
  
  It probably because nitro doesn't overwrite your host file. You may need to edit it yourself using nano (assuming you're on linux).
  
  sudo nano /etc/hosts
  
  you will need to provide
  
  * the IP address- that you can find using `nitro info` in the terminal or by opening the nitro-dev shell in multipass
  * the hostname- example.test or whatever else that may be
  
  There is a github issue raised for it, see <https://github.com/craftcms/nitro/issues/213>
  
  
  ---
  
  