Hello majorsl,
I am new and attempting to complete the installation for my website. While “JeffTheRocker,s” tutorial is exceptional, I find myself with a few questions, only because Mavericks and it’s corresponding Server.app are slightly different form our configurations and I hope we can compare notes.
I’m hosting my own website with the following configuration:
macOS Sierra v10.12
Mac Mini (Late 2014)
Server.app v5.2
On the tutorial JeffTheRocker instructs:
"Step 2 (test and) generate the certificate
First locate your website directory (the web root). If you didn’t change anything it should be under /Library/Server/Web/Data/Default. There, you must create the folders .well-known and acme-challenge inside .well-known. In order to do so launch :
mkdir PATH_TO_WEB_FOLDER/.well-known
and
mkdir PATH_TO_WEB_FOLDER/.well-known/acme-challenge"
Which I understood it to be:
“mkdir /Library/Server/Web/Data/Default/.well-known”
and
“mkdir /Library/Server/Web/Data/Default/.well-known/acme-challenge”
However, I do not find a “Default” directory inside the “Data” directory, only the “Sites” and “WebApps” directories. On the other hand, I found a “/Library/Server/Web/Data/Sites/Default” directory. In addition I also have 2 additional directories:
"/Library/Server/Web/Data/Sites/server.local" which I use for design, development and testing and “/Library/Server/Web/Data/Sites/‘www.example.com’” where I store the actual website file.
I believe that my PATH_TO_WEB_FOLDER should be “/Library/Server/Web/Data/Sites/www.example.com”
My questions are:
a. Did you successfully complete the installation in your server with the above configuration?
b. Where did you mkdir the “.well-known” and the “.well-known/acme-challenge”?
c. Did you create the “Default” directory inside the “Data” directory?
Your response will be most appreciated.
Kindly
Edwin