Help find webroot on macOS Server

Please fill out the fields below so we can help you better.

My domain is:psifactor.club

I ran this command:I can’t upload the attached file to (webroot)/.well-known/acme-challenge. because I don’t understand were it is or how I create this

It produced this output: nothing

My web server is (include version) :Mac os server

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):I don’t know

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):it’s wiki Mac os server

Webroot is simply the base directory your web server is serving it’s files from. For instance, if you wanted to put an index.html page on your web server so that when you go to www.yourdomain.com it would load, you put that in your webroot directory. Create a directory in your webroot for .well-known, then inside of .well-known that you just created, make one called acme-challenge, then put your challenge files in there.

So, if you put your website files in, for example, /var/www, you would need to put the challenge file in /var/www/.well-known/acme-challenge

ok!But I use Mac OS server and don’t know were is webroot. I try to use different path as example library/server/web/data/sites/default -it’s path to web sites but it doesn’t work! Does anybody knows were is webroot in Mac OS server?

Hi @kserg,

What happened when you tried using /Library/Server/Web/Data/Sites/Default?

Hi Schoen,
I got only « failed» message!
I created the path in …default: well-known/acme-challenge and copied attached file(getting from «Certificate Automation» service) into this path!
I attempt to verificate it several times! But each time have « failed» record.
At last I used DNS verification in «SSL for free…» service which was successfull! So for three month the problem had been solved for me!

Could you access your verification file in a web browser?

Could you access your verification file in a web browser? No,I can't

How do you update the content of your web site?

OK! My site is wiki server into Mac OS server! It is placed on my computer and any change happens automatically.

Let’s change the title of this thread to “Help find webroot on macOS server” and see if someone with relevant experience can help you figure out where your web root is!

I agree if it possible but I already have the decision for the verification through DNS txt record.Thank you!

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