Try ERPNext Buy Support Partners Foundation

Domain of ecommerce first

Hello,

I would like exemple.com to start with ecommerce and not a login page.

If possible I would like to maintain a structure close to that:

erpnext.exemple.com <- EPRNEXT Backend
or
example.com/??? <- EPRNEXT Backend

exemple.com <- Frontend (ecommerce)

I hope you understand, sorry for my English

Sorted out.
The first access leads to the login, after entering the initial data the first page accessed is HOME.
How I wish.
But I would still like to put erpnext.exemple.com

Welcome!

If example.com is set up how you want, you can add erpnext.example.com as an additional domain as described here:

https://frappe.io/docs/user/en/bench/guides/adding-custom-domains

Then, you could edit your nginx conf file to forward calls to erpnext.example.com to erpnext.example.com/desk

That should work, if I understand what you’re trying to do

1 Like

I really liked this solution.
But I will not use, because /desk will still exist.
However this should server to redirect http:// to https://.

Is it possible to then login only on erpnext.example.com/login, and prevent example.com/login?

It is probably possible to do that using server directives, but I don’t really understand what the goal is.

The simplest solution would probably be just to hide the login menu item and have desk users go directly to the login URL.