By benkubbc
i am kinda new here. i have read https://www.namecheap.com/support/knowledgebase/article.aspx/9637/14/how-can-i-complete-the-domain-control-validation-dcv-for-my-ssl-certificate#http but it did not help me to understand where exactly should i upload file, in a root directory? http://your_domain_name.com/.well-known/pki-validation/filename.txt
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
Regarding your document root, you can find it in your webserver’s configuration file. For example if you are using Nginx, you could check the Nginx server block at /etc/nginx/sites-enabled/your_site.conf.
It would usually look something like this:
root /var/www/html/;
Then once you know your document root, then inside that directory you have to create the two folders, you can use the following command:
First cd into your document root that you’ve got from your Nginx server block:
- cd /var/www/html
Then create the directories:
- mkdir -p .well-known/pki-validation/
Then once you have the folder, you can add the filename.txt provided by NameCheap inside the .well-known/pki-validation/ folder.
Let me know if you have any questions.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.