You are not logged in.

#1 2010-11-06 17:38:15

kplptk
Member
Registered: 2010-11-04
Posts: 3

[Solved] Unable to access URLs with a dash

Hello all, I am having the same issue described here: https://bugs.launchpad.net/ubuntu/+sour … bug/121467
I can't access my friend's website with a dash at the end of the subdomain. From what I can understand, Linux is doing the right thing and the URLs are wrong. However, this is kind of inconvenient for me. I can work around it by firing up a VirtualBox with Windows, but I would like to find an easier, more native way. Is there anything I can do? Thanks!

Last edited by kplptk (2010-11-07 00:07:51)

Offline

#2 2010-11-06 18:17:04

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: [Solved] Unable to access URLs with a dash

Hi

One possible "fix", would be to edit your /etc/hosts file, adding:

199.15.160.41 whateverusername.deviantart.com

Remember to close all browser instances after you've saved the file. Of course, if it's not a deviantart subsite, you'll need a different IP adress.

Obtain it by doing:

dig domain.com

Pinging the site to get the IP adresse will not work.

Last edited by valvet (2010-11-06 18:21:51)

Offline

#3 2010-11-06 18:35:58

kplptk
Member
Registered: 2010-11-04
Posts: 3

Re: [Solved] Unable to access URLs with a dash

Thank you! Just for the record I tried using the dig command and it didn't work, so I just tried pinging the site and added the IP to the hosts file like you described and it worked.

Last edited by kplptk (2010-11-07 22:45:36)

Offline

#4 2010-11-06 18:41:04

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: [Solved] Unable to access URLs with a dash

Oh, well pinging the deviantart site and using that IP diden't work for whatever reason. Glad you fixed it.

"dig" is part of the dnsutils package :-)

Last edited by valvet (2010-11-06 18:41:25)

Offline

#5 2010-11-06 18:48:02

kplptk
Member
Registered: 2010-11-04
Posts: 3

Re: [Solved] Unable to access URLs with a dash

One last thing if it's not too much trouble smile
A lot of people have a dash at the end of their subsite. Is there any type of wildcard or something I could add so I don't have to manually add everyone?

Offline

#6 2010-11-06 21:00:45

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: [Solved] Unable to access URLs with a dash

I doubt it.. not in /etc/hosts airway.

Offline

Board footer

Powered by FluxBB