web server over bluetooth?

I’m scoping out a product idea for a device that would need to be controlled and monitored via Bluetooth with an android or IOS device. Initially I expected to go the route of making separate apps for each platform but the latest suggestion I’ve gotten has led me to the idea of controlling and monitoring the device via a webpage served over a bluetooth connection. If I’m understanding things correctly, the BeagleBone Black might work well for this. I’m looking for some wisdom on how this could be accomplished.