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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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:
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:Then create the directories:
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