We will provide instructions on how to create the .well-known folder for various server types:
Linux based servers (Ubuntu, Debian, CentOS)
- Go to the root directory of your website
- Create a directory called “.well-known“
- Inside it, create another folder called “pki-validation“
- Upload the TXT file inside the “pki-validation” directory
cPanel
- Log into WHM, or skip this step if you don’t have WHM
- Locate and log into the cPanel account for your domain name
- Click on “File Manager”
- Choose the “Web Root (public_html/www)” option and click “Go.”
- Create a new folder called .well-known
- Inside that folder create another folder called: pki-validation
- Upload your TXT file inside the pki-validation folder.
IIS (Windows based )
Windows based servers do not allow you to place a dot in a folder name, therefore you need to follow these steps:
- Go to the C: drive
- Create a new folder called well-known
- Inside the well-known folder, create another folder named pki-validation
so far, your folders should look like this: C:\well-known\pki-validation - Upload the TXT file in the pki-validation folder
- Open the IIS Manager on your server
- Do a right click on your website and select Add Virtual Directory
- In the Alias section write .well-known
- In the Psychical Path area enter the path to the well known folder. For example:
C:\well-known - Press OK to create this alias
For all server types, if you did everything correctly, you should be able open the following URL and see the hash code along with “comodoca.com” in any web browser.