How to bind the folder of my wordpress to the top-level domain?

Hi guys!

I am using an aliyun virtual server to launch my wordpress websites.
I want to bind the top-level domain to my ‘lvqiang’ folder.
In other words, access to example.com can be provided by my lvqiang wordpress website.
It is a Nginx web server, How to do this?

image

It should just be a matter of setting the root directory in your nginx config file. Below is a link to show you how this file works and its sections. I think your particular interest will be the title “How to use location root and index”

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.