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
gefragt vor einem Monat94 Aufrufe
3 Antworten
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
beantwortet vor einem Monat
  • 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
EXPERTE
beantwortet vor einem Monat
0

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

Filepath: /opt/bitnami/wordpress

Xhulio
beantwortet vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen