By bgama87
Hello,
I’m new to this sysadmin area but with the extensive tutorials here and with research on Google I decided and managed to install WP manually on an Apache server with Nginx as a proxy. I know it’s a bit overcomplicated especially for a beginner, but hey, challenges :) Anyway I got trough all of it and installed WP in the end. I set up a user, but now when I navigate to the admin login and enter the credentials, it looks like nothing happens. I don’t have a domain yet as I only play around and learn all of it so I’m using it with plain IP. I also set up self-signed SSL. Now I feel lost a bit where can be the problem as there are no error messages or anything that could help. However on the “homepage” I get “too many redirects” from Chrome, as well. Maybe the 2 connected somehow. My guess is Apache or Nginx is not configured well but I can’t put my finger on the error as the default sites (before WP was installed) loaded fine and the login.
In the Apache error log I have only this: [Fri May 31 11:47:47.252424 2019] [php7:error] [pid 16854] [client 127.0.0.1:53124] script ‘/var/www/html/wp-admin.php’ not found or unable to stat
And it’s true, the wp-admin.php is in the wp-admin folder where it supposed to be.
So can somebody help me, please?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
My guess is that the reverse proxy is misconfigured, you need to make sure that you have the the X-Real-IP and the X-Forwarded-For headers in your Nginx config.
Can you please show us your Nginx and Apache configs?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.