Try ERPNext Buy Support Partners Foundation

How to build multiple sites with single domain name

I want to develop multiple sites on single domain name,
example
mysite.com/site1
mysite.com/site2

I dont want to go with sub domain approch, is there any way to make it

Don’t think without subdomain it will work.

Whenever we create a site in frappe it will generate as
http://site1/
http://site2/

i want it to be
http://mysite.com/site1
http://mysite.com/site2

You should create site as

bench new-site site1.mysite.com

Then you can access it from

http://site1.mysite.com

The site works on (sub)domain level, not on directory level.
You may create site with different name as the domain. But to access it you have to add-domain, which is subdomain.
Alternative is to use port based. So you can have same domain, and access the sites on different ports.