[Idea] .bit redirection service

Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Post Reply
phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

[Idea] .bit redirection service

Post by phelix »

Somebody create a server whose IP I can put into my d/blubb value so that the server redirects me to blubb.com ("blubb.com" needs to be placed in the value).

(So far it seems it is not possible to redirect to an existing domain that does have neighbor domains on the same ip.)

Browser plugins could take a shortcut and go directly to blubb.com
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: [Idea] .bit redirection service

Post by biolizard89 »

phelix wrote:Somebody create a server whose IP I can put into my d/blubb value so that the server redirects me to blubb.com ("blubb.com" needs to be placed in the value).

(So far it seems it is not possible to redirect to an existing domain that does have neighbor domains on the same ip.)

Browser plugins could take a shortcut and go directly to blubb.com
Have you read my proposal on this?

https://dot-bit.bit/forum/viewtopic.php ... be38#p6861

This should allow redirects to HTTP/HTTPS services without server configuration, and also would allow browsers to see the .bit domain as the domain in use (if Convergence or something similar were used).
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

cassini
Posts: 336
Joined: Sun May 26, 2013 6:36 pm

Re: [Idea] .bit redirection service

Post by cassini »

biolizard89 wrote:viewtopic.php?p=6861&sid=4e5a780dc03d9bc5ab44c317e780be38#p6861
Link doesn't work for me. Is it this one:
http://dot-bit.org/forum/viewtopic.php? ... 6861#p6861
EDIT: ok, biolizard89's link does indeed work. Thanks to virtual_master who pointed out it is a .bit link. Even the combination of .bit and https works if using khal's 178.32.31.41 DNS server.
Last edited by cassini on Thu Nov 07, 2013 10:44 pm, edited 1 time in total.

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [Idea] .bit redirection service

Post by virtual_master »

cassini wrote:
biolizard89 wrote:viewtopic.php?p=6861&sid=4e5a780dc03d9bc5ab44c317e780be38#p6861
Link doesn't work for me. Is it this one:
http://dot-bit.org/forum/viewtopic.php? ... 6861#p6861
Yes. It is the same link but with .bit and https:
https://dot-bit.bit/forum/viewtopic.php ... be38#p6861
The above link appears by clicking that link and doesnt work.
But if you change bit with org or https with http then works, just the combination https with .bit doesn't work.
My be something must be configured to be possible the viewing. This must be a recent development.
------------
But there is another problem also what I remarked now.
If am logged in on the Namecoin forum with .org on the same forum with .bit I am not logged in. (tabs refreshed)
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: [Idea] .bit redirection service

Post by virtual_master »

Now I am logged out on the http://dot-bit.org/forum and I am writing this from the http://dot-bit.bit/forum, where I am logged in.
In the above post it was inverse.
Interesting behavior.
You can log in each or in the same time also.
The first time I see something like this.
If they where 2 different forums with synchronized content.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: [Idea] .bit redirection service

Post by phelix »

biolizard89 wrote:
phelix wrote:Somebody create a server whose IP I can put into my d/blubb value so that the server redirects me to blubb.com ("blubb.com" needs to be placed in the value).

(So far it seems it is not possible to redirect to an existing domain that does have neighbor domains on the same ip.)

Browser plugins could take a shortcut and go directly to blubb.com
Have you read my proposal on this?

https://dot-bit.bit/forum/viewtopic.php ... be38#p6861

This should allow redirects to HTTP/HTTPS services without server configuration, and also would allow browsers to see the .bit domain as the domain in use (if Convergence or something similar were used).
x-posting:
biolizard89 wrote: I was thinking about something similar: add an "http" field, which compliant implementations should display as an HTML iframe, an HTTP redirect, or otherwise load the HTTP URL specified by the value of the "http" field. The value would be used as a "base" URL; i.e. I could specify this:

name: d/myforum
value: { "http" : "http://www.mysite.com/forum"}

Visiting http://www.myforum.bit/1234 would take me to http://www.mysite.com/forum/1234

This scheme might need modification to handle multiple resolvers (e.g. the implementation should be able to choose a generic TLD, .onion TLD, .i2p TLD, etc. based on user choice), but I think that's easy enough.

I think this would meet the main use case of your proposal, without using as much storage in the blockchain, and would also prevent idiots from shoving Javascript malware in the blockchain or whatever other bad things might happen from embedding arbitrary web pages in the blockchain.

Another benefit of this way of doing it is that (I think, haven't tested) proxy-based implementations like Convergence should be able to transparently translate the HTTP headers such that the URL bar still works as normal; i.e. the browser thinks it's actually visiting the correct .bit page even if you click links, but the server receives the headers requesting a .com page.
Sounds great.

Not so much a fan of iFrames - but these would allow for a server side solution that lets you keep .bit domain.

Of course the solution with firefox plugin is much better. And +1 to TLS included.


About https://dot-bit.bit I did not even notice. It just works as it should, with a little closed lock next to the domain :mrgreen:
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

Post Reply