How do I add domain.com/.well-known/apple-developer-merchantid-domain-association to lightsail instance?

0

I am looking to add domain.com/.well-known/apple-developer-merchantid-domain-association to lightsail instance but when I do so, I get 404 not found on the url. I think the server restricts anything outside wp-content to be publicly accessible.

Any thoughts?

Xhulio
asked 14 days ago77 views
3 Answers
0

Hello,

The file should reside in: "/opt/bitnami/wordpress/.well-known/apple-developer-merchantid-domain-association". Is that what you are trying?

AWS
MODERATOR
answered 13 days ago
  • Yes I do place the file on "/opt/bitnami/wordpress/.well-known/apple-developer-merchantid-domain-association" but then when I go to domain.com/.well-known/apple-developer-merchantid-domain-association it says 404 not found.

0

Hello.

Since you are getting a "404 not found" error, is it possible that the file was not placed in the correct directory?
I think it should be placed in the web server's document root.
I can't say for sure without looking at the web server's configuration file, but I think that with bitnami WordPress, "/opt/bitnami/wordpress" is the storage location for static files.

profile picture
EXPERT
answered 14 days ago
0

Correct, this is where the file is located but I am unable to access it

Filepath: /opt/bitnami/wordpress

Xhulio
answered 13 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions