I create subdomain on nginx ,
I have made a configuration on sites-available and have also symlinked it to sites-enabled,
I have also added records to cloudflare, for example
Type: A
name : Blog
content : IP
but when I opened a subdomain, the subdomain opened the root folder of the main domain even though I had already set it in the subdomain configuration like /var/www/sub1/ while the one opened by the subdomain is /var/www/html which is the root directory of the main domain
Thats it bro IM stuck my head gone boom!
Azella Xint is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.