Adding a file to Discourse web root folder?

(LT) #1

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?

(Discourse Fan) #2

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

1 Like
(LT) #3

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

(Jeff Atwood) #4

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

2 Likes
Uploading a file to the web root
(LT) #5

Thank you for clearing this up!

(system) closed #6

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