> For the complete documentation index, see [llms.txt](https://docs.ccpayment.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ccpayment.com/faq/security-and-privacy/verify-your-site-ownership/verify-your-site-ownership-with-html-file.md).

# Verify your site ownership with HTML file

To verify website ownership, upload the HTML file associated with the merchant to the specified location on your website.&#x20;

We will regularly check if the designated HTML file exists. Removing this verification file from your website will result in the loss of validation for that website.

{% hint style="danger" %}
Requirements
{% endhint %}

* The directory for uploading the HTML file must be accessible to non-logged-in users.&#x20;
* You should be able to upload the file to the root directory of your website, where web browsers can access the file.

### Steps

1. Download the verification file.
2. Upload the verification file to the root directory of your website. The location of the uploaded file will be: <https://example.com/\\>\<merchant\_verification\_file>.

{% hint style="info" %}
The file is unique to you; it cannot be used to identify the identity of anyone else and is associated with your CCPayment account.
{% endhint %}

Click "Verify" on the verification details page to complete the verification process.&#x20;

If the verification fails, refer to the potential errors below to troubleshoot the issue.

**Troubleshooting:**

**File Not Found/Location Error:** The validation file must be in the website's root directory. Ensure the file is uploaded to the correct location.

**Incorrect File Content:** Use the file provided by CCPayment, ensuring the filename, extension, and content are unchanged.

**Server Connection Timeout:** Ensure your server is running and responding promptly. Timeout may occur if the server is closed or busy with slow response. Confirm the server is working, then retry.

**Too Many Redirects:** Check the URL for potential issues like infinite loops.

**Invalid Server Response:** If your website requires password authentication or is inaccessible for other reasons, this issue may occur.

**Unable to Connect to Your Server:** First, please ensure that your server is running and the domain name resolution is correct. If you still cannot connect to the server, please add the CCPayment request IP addresses: 57.180.23.33 and 54.250.238.239 to the whitelist of your server.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ccpayment.com/faq/security-and-privacy/verify-your-site-ownership/verify-your-site-ownership-with-html-file.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
