Expose localhost to the internet without a tunnel
Hello,
I am looking for resources/possible solution for my use case.
I am developing a feature which is not testable with any of the tunnel providers that expose my
localhost
to the internet, (I have already tried ngrok, pinggy and cloudflare tunnels).
I have no home server, just my router, laptop and domain. Is there a way to still expose my .NET app trough an IP and point the domain to that IP address?
If yes, then what is the right term which I need to search for in the browser? People usually have a dedicated home server for this purpose...4 Replies
port forwarding
or you could rent a cheap VPS. Linode has options for $5/mo
Hi, thanks. By VPS do you mean renting a VM? The problem is that while developing the app it would be really time consuming to always deploy it. I am doing DNS record lookup for example, it would be hard to incrementally test new code
Why not a tunnel?
ngrok works really well
I understand that it isn't "testable" but what makes it not testable?
It doesn't in my case. I have the followin situation. There is a main domain, multiple domains are CNAMEd to the main domain. That means the CNAMEd domain should be resolved to the main domain, which is actually the tunnel (my localhost). The CNAMEd domain will not work with the tunnels, it might do something with how they are implemented. I've tested it with Ngrok, Cloudflare zero trust, and Pinggy
Well, with a powerful VM can I simply install an IDE and test it realtime (the feature that's being developed)?