wp-admin not accessible – The requested URL was not found on this server

Auf der AWS-Instanz habe ich Ubuntu 22 und dann WordPress installiert. Ich verwende die Subdomain einer registrierten Domain. (Domäne wurde für eine andere Website registriert, die auf einer anderen Instanz ausgeführt wird). Ich versuche, eine neue Instanz zum Testen zu erstellen, und ich verwende die Subdomain der registrierten Domain.

Ich kann auf das Frontend meines WordPress zugreifen, aber nicht auf das Backend.

Wenn ich versuche, mich bei meinem wp-admin-Backend anzumelden, indem ich browser

http://aws_route_53_subdomain_name.domain_name.com/wp-admin

Wenn ich versuche, mich bei meinem wp-admin-Backend anzumelden, indem ich browser

http://aws_route_53_subdomain_name.domain_name.com/wp-admin

Ich bekomme diesen Fehler

"Not Found" The requested URL was not found on this server. Apache/2.4.52 (Ubuntu) Server at <IP address> Port 80".

Ich habe auch versucht einzusteigen

"aws_route_53_subdomain_name.domain_name.com/wordpress/wp-admin"

aber das Ergebnis ist das gleiche. Wenn ich die Eingabetaste drücke, sehe ich, dass sich die URL in etwas wie ändert

"http:///wordpress/wp-login.php?redirect_to=http%3A%2F%2Ftest.%2Fwp-admin%2F&reauth=1".

Können mir bitte jemand dabei helfen?

Ich vermute, dass das Problem darin liegen könnte, dass ich die Subdomain einer ersten Prod-Instanz verwende und sie auf eine andere (diese neue) Testinstanz verweise. (Ich kann mit „mydomainname.com“ auf das Frontend zugreifen, aber nicht auf das Backend) Z. B. wenn ich lief

sudo certbot --apache

Ich habe diesen Fehler

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: www.test.mydomainname.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for www.test.mydomainname.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.test.mydomainname.com - check that a DNS record exists for this domain

Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

Some challenges have failed. Ask for help or search for solutions at . See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer