DEV Community

Aarvy
Aarvy

Posted on

Make your applications running on subdomains expose to web

Ngrok is widely used application to expose local servers running on any port to internet out there., but fails when you are working on multi-tenant application which requires subdomain as, it doesn’t support subdomains. In such case you can use serveo as an alternative. Best of it is, your site doesn’t even have to be on localhost means it can run on lvh.me too.

Run below command

ssh -R yoursubdomain.serveo.net:80:yoursubdomain.lvh.me:3000 serveo.net

And your multi tenant application running on yoursubdomain.lvh.me will be forwarded to public exposed path of serveo.net.

For more detail check out https://aarvy.me/blog/2019/09/20/expose-local-apps-having-subdomains-to-web/

Top comments (0)