DirectDNS.net - Preview Your Website Without Updating DNS
Hi everyone,
I launched a new personal project, directdns.net.
The idea behind this is simple.
Imagine you have a public web server running on the IP address 45.8.22.46, but you’ve configured a specific setup for example.com that isn’t yet pointed to this IP address.
Using DirectDNS, you can input the IP address (45.8.22.46) and the hostname (example.cpm). DirectDNS then generates a reverse proxy that makes the server behave as if example.com were already pointed to it. This allows you to preview and test your website as if it’s fully live under the desired hostname, even before DNS changes are made.
This is particularly useful for demonstrating or troubleshooting websites prior to updating DNS records. It works similarly to services like skipdns.link. In addition, if you wish, you don't have to specify an IP address at all if you just want to access your site without cache.
The application is based in Rust in the backend, and React in the frontend. I'm still learning Rust (it's actually my first time using the language), so there could be some issues that I haven't ironed out yet. I'll open source the project soon once I'm more happier with the code and once I'm more familiarized with Rust.
I also plan on making a free cPanel plugin at some point.
At the moment, links are cleared and will need to be regenerated every so often. Since the project is still in alpha, I'm not entirely sure if I'm happy with the database design, and thus I don't want to have to deal with migrating data to new schemas. Once I'm more closer to finished, I'll eventually have settings for how long the URL should be active.
The API is completely public and unlimited. You just need to send a POST request to /api/create with the hostname and optionally the IP address. It will return a full_url that you can use. I will likely switch away from making reverse proxies on the directdns.net domain, so if you plan on building something with the API, make sure to use the full_url value that's returned.
This is not an Advin Servers project, this is my own project.
If you have any feature requests or recommendations, just let me know! This will always be free.
Enjoy!
I am a representative of Advin Servers
Comments
Merry Christmas @Advin and Thank You for all your hard work
Free Hosting at YetiNode | Cryptid Security | URL Shortener | LaunchVPS | ExtraVM | Host-C | In the Node, or Out of the Loop?
Can I enter IPv6 and IPv9 ?
Accepting submissions for IPv6 less than /64 Hall of Incompetence.
This can be a proxy for a blocked site.
And you put HTTPS by default, what if the origin does not support HTTPS?
https://microlxc.net/
or, add an entry to your /etc/hosts
45.8.22.46 example.com
Koofr Cloud Storage: Lifetime Subscription (1TB) for $119.99 with coupon KOOFR40 [aff link]
dns hosting next
Thanks for this! I used a similar service for a long time which unfortunately was discounted. Neaty feature
Ympker's VPN LTD Comparison, Uptime.is, Ympker's GitHub.
It's not on Public Suffix List.
Cookies are cross-accessible between sites.
What can go wrong?
Accepting submissions for IPv6 less than /64 Hall of Incompetence.
Interesting, I'll see if I can get it added
I am a representative of Advin Servers
You can specify http:// manually
I am a representative of Advin Servers
You can, but this is just more convenient. Some people pay money for this type of stuff (see skipdns.link or withoutdns.com)
Mostly on Windows, it's annoying to manually update the hosts file, and explaining it to a non-technical person is even tougher
I am a representative of Advin Servers
If a site use Cloudflare Managed Challenged, it will create a loop.
Tried it with lowendtalk (looping) and lowendspirit (works).
https://microlxc.net/
LET possibly has more tighter Cloudflare rules that block it. There's not a lot I can do about that, sadly
I am a representative of Advin Servers