Another approach is to build multiple versions of a website and use server side detection to then present custom code for that device or viewport size.

You could decide to have your mobile site on a separate domain for example m.domain.com. The server will then automatically serve all mobile traffic to that domain.

The server could also perform dynamic serving of page content so that you have just one domain name.

The downsides to this approach is it requires complex server side detection code and is harder to maintain multiple site versions.

Learn more about adaptive web design.

Term: Adaptive Web Design

New to Web Development?

Learn how to get started using Bootstrap 4 to save time building your projects.

Watch Video

Written By: / Read Full Bio
Last updated on

Leave a comment