What you need to do is detect the device that is connecting to http://www.mycoolapp.com/somepath
If it is a mobile device then you can present them with a page with a link with your custom url scheme that opens your app. Or auto open the custom url of the app if you want.