klpdotorg / dise_dashboard

Dashboard for Dise data to allow interactive dise data gathering
2 stars 4 forks source link

Short URL for KLP #70

Closed geohacker closed 10 years ago

geohacker commented 10 years ago

We need a URL shortening mechanism. Could be a short domain or some service like bit.ly. Reason is that the URLs will get long and dirty when we work on #32.

gkjohn commented 10 years ago

We already have klp.org.in - why not use that with http://www.enterprise.bitly.com/

geohacker commented 10 years ago

That works!

vinayakh commented 10 years ago

Could be klp.in/shortURL. We can use (http://yourls.org/#Install) or Less n more (http://lessnmore.net/) Or bit.ly - Any ideas about cost ?

-- Vinayak

On Mon, Jan 20, 2014 at 12:52 PM, Sajjad Anwar notifications@github.comwrote:

We need a URL shortening mechanism. Could be a short domain or some service like bit.ly. Reason is that the URLs will get long and dirty when we work on #32https://github.com/klpdotorg/dise_dashboard/issues/32 .

— Reply to this email directly or view it on GitHubhttps://github.com/klpdotorg/dise_dashboard/issues/70 .

geohacker commented 10 years ago

Don't want to install a URL shortening mechanism and manage that. Would prefer a solution like bit.ly. klp.in is not available.

vinayakh commented 10 years ago

+1 for bit.ly. Better analytics and referers. Also good API Both the softwares mentioned use PHP so not a good idea.

iambibhas commented 10 years ago

Then we have to use a subdomain of klp.org.in. That ends up as l.klp.org.in/token. Everyone fine with that?

gkjohn commented 10 years ago

Sounds good.

iambibhas commented 10 years ago

@gkjohn can you create a CNAME for l.klp.org.in and point to cname.bitly.com?

gkjohn commented 10 years ago

Done

l.klp.org.in 10800 IN CNAME cname.bitly.com.

On Tue, Jan 21, 2014 at 7:08 PM, Bibhas notifications@github.com wrote:

@gkjohn https://github.com/gkjohn can you created a CNAME for l.klp.org.in and point to cname.bitly.com?

— Reply to this email directly or view it on GitHubhttps://github.com/klpdotorg/dise_dashboard/issues/70#issuecomment-32885276 .

iambibhas commented 10 years ago

Strange, it's not working yet.

gkjohn commented 10 years ago

Strange, indeed.

Very much there l.klp.org.in 10800 IN CNAME cname.bitly.com.

On Thu, Jan 23, 2014 at 12:29 AM, Bibhas notifications@github.com wrote:

Strange, it's not working yet.

— Reply to this email directly or view it on GitHubhttps://github.com/klpdotorg/dise_dashboard/issues/70#issuecomment-33055052 .

vinayakh commented 10 years ago

DNS Propagation can take a few hours to a day sometimes (but it is past that now). You can see if it has propagated to your ISP DNS (or another DNS) by pointing your resolver directly there: dig @ l.klp.org.in (please check syntax). You can try 4.4.8.8 (Level 3) and 8.8.8.8 (Google DNS). Try one of the opendns servers as well.

iambibhas commented 10 years ago

@vinayakh bitly itself cannot resolve. Can't ask them to change DNS.

iambibhas commented 10 years ago

It's still not working BTW.

gkjohn commented 10 years ago

Just discovered why

Using the control panel of the host with whom you registered your short domain, set the DNS A Record for your short domain to point to 69.58.188.49. If you are using a subdomain (such as on.wsj.com) as your custom short domain, you can set the CNAME Record for that subdomain to point to cname.bitly.com.

On Mon, Jan 27, 2014 at 5:21 PM, Bibhas notifications@github.com wrote:

It's still not working BTW.

— Reply to this email directly or view it on GitHubhttps://github.com/klpdotorg/dise_dashboard/issues/70#issuecomment-33361220 .

iambibhas commented 10 years ago

We're using a subdomain, hence we're setting cname. It should work. On Jan 27, 2014 6:38 PM, "Gautam John" notifications@github.com wrote:

Just discovered why

Using the control panel of the host with whom you registered your short domain, set the DNS A Record for your short domain to point to 69.58.188.49. If you are using a subdomain (such as on.wsj.com) as your custom short domain, you can set the CNAME Record for that subdomain to point to cname.bitly.com.

On Mon, Jan 27, 2014 at 5:21 PM, Bibhas notifications@github.com wrote:

It's still not working BTW.

— Reply to this email directly or view it on GitHub< https://github.com/klpdotorg/dise_dashboard/issues/70#issuecomment-33361220>

.

— Reply to this email directly or view it on GitHubhttps://github.com/klpdotorg/dise_dashboard/issues/70#issuecomment-33365770 .

gkjohn commented 10 years ago

Still not working?

iambibhas commented 10 years ago

The short domain works. We need a place to show the short url so that the user can copy it. Not yet implemented.

geohacker commented 10 years ago

UI required.

gkjohn commented 10 years ago

klp.io now points to 69.58.188.49