DirectDNS.net - Preview Your Website Without Updating DNS

AdvinAdvin Hosting Provider
edited December 2024 in Free Offers and Stuff

Hi everyone,

I launched a new personal project, directdns.net.

https://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

  • AuroraZeroAuroraZero ModeratorHosting ProviderRetired

    Merry Christmas @Advin and Thank You for all your hard work <3

    Thanked by (1)Advin

    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 ?

    No hostname left!

  • This can be a proxy for a blocked site.

    And you put HTTPS by default, what if the origin does not support HTTPS?

  • or, add an entry to your /etc/hosts
    45.8.22.46 example.com

    Thanked by (4)WSS admax Blembim yoursunny

    Koofr Cloud Storage: Lifetime Subscription (1TB) for $119.99 with coupon KOOFR40 [aff link]

  • dns hosting next ;)

    Thanked by (1)Advin
  • YmpkerYmpker OGContent Writer

    Thanks for this! I used a similar service for a long time which unfortunately was discounted. Neaty feature :)

    Thanked by (1)Advin
  • It's not on Public Suffix List.
    Cookies are cross-accessible between sites.
    What can go wrong?

    Thanked by (1)wankel

    No hostname left!

  • AdvinAdvin Hosting Provider

    @yoursunny said:
    It's not on Public Suffix List.
    Cookies are cross-accessible between sites.
    What can go wrong?

    Interesting, I'll see if I can get it added

    I am a representative of Advin Servers

  • AdvinAdvin Hosting Provider

    @Fritz said:
    This can be a proxy for a blocked site.

    And you put HTTPS by default, what if the origin does not support HTTPS?

    You can specify http:// manually

    I am a representative of Advin Servers

  • AdvinAdvin Hosting Provider
    edited December 2024

    @allnetstore said:
    or, add an entry to your /etc/hosts
    45.8.22.46 example.com

    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

    Thanked by (1)wankel

    I am a representative of Advin Servers

  • @Advin said:

    @Fritz said:
    This can be a proxy for a blocked site.

    And you put HTTPS by default, what if the origin does not support HTTPS?

    You can specify http:// manually

    If a site use Cloudflare Managed Challenged, it will create a loop.

    Tried it with lowendtalk (looping) and lowendspirit (works).

  • AdvinAdvin Hosting Provider

    @Fritz said:

    @Advin said:

    @Fritz said:
    This can be a proxy for a blocked site.

    And you put HTTPS by default, what if the origin does not support HTTPS?

    You can specify http:// manually

    If a site use Cloudflare Managed Challenged, it will create a loop.

    Tried it with lowendtalk (looping) and lowendspirit (works).

    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

Sign In or Register to comment.