I am working on an Angular 5 website, i would like to have 2 versions, one for computer devices and another one for mobile devices, i have seen this post to detect and redirect when the client is a mobile device.
ReWrite in web.config to go between mobile and desktop sites
I would like to know if i need a different domain or subdomain to get www.m.example.com working or if i can configure www.example.com to serve this version.
I am not familiar with subdomains, it would probably be an extra cost by my hosting provider. (Now it is very cheap = 20 € /year domain + .Net hosting).
Thanks you!
Considering that you are in the process of building the website, I would recommend Mobile First Design , the reason why many websites have a mobile version is because they were developed prior to many of the technologies which make responsive design easier. This way, you can use the same domain to provide multiple different websites to users (including tablets, mobile, TVs and even potentially smart watches), based on screen size rather than detecting the device first.