# Adding a file to Discourse web root folder?

**URL:** https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466
**Category:** Support
**Created:** [November 21, 2018, 2:05pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466 "2018-11-21T14:05:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![lt100](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lt100/32/67668_2.png) [@lt100](https://meta.discourse.org/u/lt100)
#### Post date: [November 21, 2018, 2:05pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466/1 "2018-11-21T14:05:48Z")

</div>

A service I use needs to verify ownership of my website by asking me to create a text file with a string in the web root folder:

`https://mydiscoursewebsite.com/verify.txt`

So I

`cd /var/discourse`,

then `./launcher enter app`

do I just create the file in that folder or navigate elsewhere?

---

<div class="post-metadata">

### Author: ![AbhishekVerma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/abhishekverma/32/125053_2.png) [@AbhishekVerma](https://meta.discourse.org/u/AbhishekVerma)
#### Post date: [November 21, 2018, 2:07pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466/2 "2018-11-21T14:07:02Z")

</div>

You should create the file anywhere and then move it to root using Putty (SSH)

---

<div class="post-metadata">

### Author: ![lt100](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lt100/32/67668_2.png) [@lt100](https://meta.discourse.org/u/lt100)
#### Post date: [November 21, 2018, 2:09pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466/3 "2018-11-21T14:09:30Z")

</div>

Simply to myIpaddress/root? Or should I look for some docker-specific web root folder? Sorry about the stupid questions…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 21, 2018, 6:05pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466/4 "2018-11-21T18:05:52Z")

</div>

This is not possible. You need to verify through DNS records.

---

<div class="post-metadata">

### Author: ![lt100](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lt100/32/67668_2.png) [@lt100](https://meta.discourse.org/u/lt100)
#### Post date: [November 21, 2018, 6:41pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466/5 "2018-11-21T18:41:26Z")

</div>

Thank you for clearing this up!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 21, 2018, 6:41pm UTC](https://meta.discourse.org/t/adding-a-file-to-discourse-web-root-folder/102466/6 "2018-12-21T18:41:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
