If you are setting up Apple Pay need to upload a ‘merchantid-domain-association’ file to your Ecenica hosting account, follow the steps below. This file is typically used for verifying domain ownership, especially in the context of Apple Pay on the web.

Steps to upload your merchantid-domain-association file

  1. Log in to your Ecenica Dashboard
  2. Click Manage next your Ecenica hosting service.
  3. Click File Manager.
  4. In the File Manager, navigate to your website’s root directory. This is typically the public_html folder.
  5. Inside the public_html folder, open the .well-known folder.
  6. Inside the .well-known directory, click on the Upload button at the top of the File Manager.
  7. In the upload interface, click on the Select File button, browse to the location of the ‘merchantid-domain-association’ file on your computer, and select it.
  8. Once the file is selected, the upload will start automatically. Wait for the upload to complete (you will see a green progress bar).

Verify the File Upload

  1. After the upload is complete, return to the File Manager and ensure the file ‘merchantid-domain-association’ is present in the ‘.well-known’ directory.
  2. You can verify the upload by accessing the file via your web browser. Go to https://yourdomain.com/.well-known/merchantid-domain-association. If the file is correctly uploaded, you should see its contents displayed in the browser.

Troubleshooting Tips

  • File Not Found: If you receive a 404 error, double-check that the .well-known directory and the ‘merchantid-domain-association’ file are correctly named and located in the root directory of your website.
  • Permissions Issue: Ensure that the file permissions are correctly set. The file should have read permissions. You can check and modify permissions in the File Manager by right-clicking the file and selecting Permissions.

Conclusion

Uploading a ‘merchantid-domain-association’ file to your cPanel hosting account is a straightforward process. By following the steps outlined above, you can ensure that your file is properly uploaded and accessible, allowing you to verify your domain for Apple Pay.