- I created a novel folder inward /var/www/subdomain where I install a novel re-create of wordpress. Note that /var/www/html contains my maindomain.
- The duplicate the config site inward the spider web log I mentioned inward a higher house (my-site), in addition to then directly I convey subdomain ni /etc/nginx/sites-available.
- Make the next modifications (first ii lines):
listen 80; heed [::]:80;
- Basically, you lot can't convey ii virtual configurations amongst default_server marker.
- Your sub domain should directly survive accessible.
How To Setup A Subdomain Inwards Your Nginx Server
Selasa, 06 November 2018
Lately I've created a sub-domain for i of my website. I promise you lot follow this blog on how to setup your nginx wordpress site. In the same server where I host my maindomain.com, I've added a subdomain.maindomain.com. And hither is how:
0 komentar:
Please comment if there are any that need to be asked.