DEV Community

Discussion on: Should I host two websites on a single domain?

Collapse
 
roka profile image
Robert Katzki

I would use the same domain. Something like m.mydomain.com feels old and is annoying when switching devices (I frequently send tabs to pocket or directly to another device via Firefox sync).

That said, as a user I would be irritated if the content changes when switching devices. I sure hope you have good reasons for this. Having two different layouts from the same HTML structure should be no problem using CSS Grid.

Collapse
 
imkevdev profile image
Kevin Farrugia

Thank you Robert.

Yes, I agree and usually a responsive website is my preferred option. In this case, the two applications are using slightly different implementations and the changes aren't only cosmetic/CSS. For example, on mobile we would request for less data and the user journeys would be different. Ultimately, it would be better suited for slower devices on flaky connection.