Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By Eric Seufert
Hi,
I have an ubuntu droplet running wordpress.
I developed a desktop and mobile theme for my Wordpress site and switch between the two using a wordpress plugin that detects the device the user is on and loads the appropriate theme accordingly. The only problem is this conflicts with varnish; since the URL is the same for both mobile and desktop browsers, sometimes desktop viewers will see the mobile site (and vice versa).
I’d like to setup a subdomain, m.mydomain.com, that gets loaded if the user is on a mobile device. But obviously I wouldn’t want to run two sites as this would cause headaches in managing the data.
What’s the best way to do this?