Www not working

I’m using dns_multitenant on
all my sites subdomain.domain.com are working fine.
the domain.com site also works fine, how I configure to the www.domain.com also works with domain.com

Thanks

That would have to be setup in the DNS settings of your URL. If you set it up there, it will work with ERPNext.

Go to the same place that you setup all of the subdomains with your URL provider and make sure there is an entry for “www” pointing to the same ip address.

I know that some registrars use a * as a wildcard for that, but in practice that does not always work.

BKM

The probably easiest way is to create a simlink in the sites folder:

$ cd /home/frappe/frappe-bench/sites
$ ln -s domain.com www.domain.com

Hope this helps.

1 Like

Thank you Iasalesi!
You solve it!