I have a droplet running Ubuntu 18.04.
I followed this guide (https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-18-04)
I made sure to complete all the prerequisite steps, ensuring that I didn’t make any typos and followed every step.
Everything seemed to go smoothly until the absolute last step where you log in to Wordpress via the domain. Rather than getting the wordpress login, I’m still getting the “Welcome to Nginx” text page.
I’ve tried searching and some people say this is due to the index.html file, but I don’t even know where to begin to find the source of the issue.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi @ic891,
I am sure you made an error while doing configuration, Follow this carefully to solve this.
First Unlink the default Nginx configuration, if you not done yet.
Next, create a configuration file for your website:
Add the following configuration:
Enable configuration for a new website:
Once you have done this, Install PHP-fpm to process the PHP files, Nginx will not process the PHP files.
Install WordPress in your public_html directory and then you can use your website.
If you still have any problem, Let me know.
Hi there @ic891,
There are a few things which could be causing this:
/etc/nginx/sites-enabled/default
then you just need to run this command in order to delete the index file:This would delete the default Nginx index file.
sites-available
folder to yoursites-enabled
folder, to check that run this command here:If you do not see your new server block in there, you can run this command here:
After run a config test:
If no errors were reported, reload Nginx by typing:
You need to make sure that Nginx can access your WordPress files, to do that you need to run this command:
Let me know how it goes!
If this still does not help please run the following commands and share the output here:
Then run:
Hope that this helps! Regards, Bobby