Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

www.ipfs.io doesn't resolve #198

Closed
jesseclay opened this issue Nov 10, 2016 · 11 comments
Closed

www.ipfs.io doesn't resolve #198

jesseclay opened this issue Nov 10, 2016 · 11 comments

Comments

@jesseclay
Copy link

some redirect weirdness here... more of an edge case than anything but should be fixed.

@ghost
Copy link

ghost commented Nov 10, 2016

Good suggestion, we don't have that subdomain set at all. We should probably also set it for all the other sites? I imagine we'd have a bit of nginx config which redirects to the non-www version.

@victorb
Copy link
Member

victorb commented Nov 10, 2016

Think we're using dnslink for deploying ipfs.io, so easiest would be to just add another record and update deploy commands in https://github.com/ipfs/website/blob/master/Makefile#L95 to include new record as well.

@jbenet
Copy link
Member

jbenet commented Nov 10, 2016

it would be nice to -- where possible -- redirect to remove the www. prefix. it's just outdated.

@ghost
Copy link

ghost commented Nov 10, 2016

Uggh I don't know, then we'll also have to have www.ipfs.io/ipfs and /ipns -- and support it forever

@ghost
Copy link

ghost commented Nov 10, 2016

redirect to remove the www. prefix. it's just outdated.

and agree to that

@jbenet
Copy link
Member

jbenet commented Nov 10, 2016

and support it forever

ooof yeah-- that would suck. :)

@ghost
Copy link

ghost commented Nov 10, 2016

In the case of the redirect, we might want to consider having it only with a fixed set of domains, and not for everything that starts in www. People might legitimately have their www. domain pointed to the gateway. On the other hand, they might not, and in that case it would be useful to remove it, mh. This is essentially /ipns/example.com and /ipns/www.example.com.

Maybe this opens up space for a generic www-removal in go-ipfs-gateway itself, where we try to look up a dnslink for the www-version, and redirect to nowww if there's none. This means we'd still pick up the dnslink if the owner of the domain legitimately is using the www-version.

@ghost
Copy link

ghost commented Nov 10, 2016

Hehe funny how github turns just www. into a hyperlink.

@ghost ghost added gateway labels Nov 10, 2016
@jbenet
Copy link
Member

jbenet commented Nov 10, 2016

@lgierth agree with your above proposal.

And, woah the link www. works where I'm at today:

image

@victorb
Copy link
Member

victorb commented Nov 10, 2016

Resolved to http://www.www.com/ for me in Firefox

Links...

@ghost
Copy link

ghost commented Apr 14, 2017

This is tracked in ipfs/go-ipfs-gateway#7

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants