Does any one know how to run Wordpress site using only Nginx wihtout apache in server pilot? I tried following the tutorial given in https://serverpilot.io/community/articles/how-to-create-a-lemp-stack-only-nginx-no-apache.html and everything seems to be fine but I cant access my site.
Thank you.
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.
Dudy m trying to lots of time but not run Nginx in my website so First all thanks I copy paste your code and run my problem is solved in my all sites so thanks a lot very kind work JobOlx (Free Job Portal) Lok Sabha Election 2019 News BC (Sports News Portal) Marrycaste (Free MatriMony Portal)
I copy paste your code and run my problem is solved in my all sites so thanks a lot very kind work Board Result
This comment has been deleted
This comment has been deleted
thanks a ton! just copy pasted your code and guess wat? it’s worked for StudyCrab
Thx Man, Problem Solve. Fifa world cup 2018 live streaming
Can you clarify what happens when you attempt to access your site?
One thing to note is that WordPress makes heavy use of rewrites in order to support easy to read URLs. On Apache this is done via .htaccess files and you only need to ensure that Apache is set to use them. On Nginx you need to manually configure your rewrite definitions in your configuration file.
We also offer a LEMP one-click image which comes with the stack all installed and ready to go. To use it with WordPress (for a new site) you would only need to:
use the mysql
command with the MySQL root password shown the in message when you log in to create a new database create database mywpsite
Download WordPress and place the files in /var/www/html (make sure to remove the index.html file that is there)
Using the Nginx link above set up your rewrites
Restart nginx so the changes that effect sudo service nginx restart
Navigate to your site in a browser and complete the setup.
Click below to sign up and get $100 of credit to try our products over 60 days!
This comment has been deleted
This comment has been deleted