Two sites serving on two subdomains issue


I have created two sites in bench and these both sites are being served on two subdomains and successfully.

but there is a small issue.

site “” is also being served on “” and I don’t want that.

I came to know that there is a block named “# setup maps” in “/etc/nginx/conf.d/frappe-bench.conf” which is as under.

map $host $site_name_fqvoemk {;
        default $host;

when I replace the to, “” is being served on “

Any suggestions, hint or guidance will be appriciated

Is the root domain also hosted on the same server? If not, you can clear it with DNS records.

1 Like