Usually any website has pages like this

Domiain/page1.com
Domain/page2.com


But some websites i find having pages like that

Page1.Domain.com
Page2.Domain.com

So how they do that

And they also have higher SE rankings...

Because their keywords are displayed unlinke others (domain/page1..)

Any help ???

they're called subdomains and it's almost always not page1.domain.com it's subsite.domain.com

You don't want to use subdomains for individual pages and whether it's a subdomain or a normal page has very, very, very little if anything to do with search engine ranking.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.