OpenNIC not resolving properly & .pe showing old version

https://bit.namecoin.org/
Post Reply
FULl
Posts: 27
Joined: Wed Aug 27, 2014 1:59 am
os: windows

OpenNIC not resolving properly & .pe showing old version

Post by FULl » Sun Sep 14, 2014 4:22 am

Hi,

When I visit my site(s) via the DNS server I have set on my system (OpenNIC), the webserver isn't seeing the domain name the visitor is visiting, and as such the vHosts configuration isn't working correctly- the root of /var/www gets displayed instead of the webserver delivering up the right root directory.

And when I browse the same site via the .pe proxy, I get an old version of the site, rather than the version I just uploaded.

Does anyone know how to solve these problems?

Thanks,
-F

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

Re: OpenNIC not resolving properly & .pe showing old version

Post by biolizard89 » Sun Sep 14, 2014 11:19 pm

FULl wrote:Hi,

When I visit my site(s) via the DNS server I have set on my system (OpenNIC), the webserver isn't seeing the domain name the visitor is visiting, and as such the vHosts configuration isn't working correctly- the root of /var/www gets displayed instead of the webserver delivering up the right root directory.

And when I browse the same site via the .pe proxy, I get an old version of the site, rather than the version I just uploaded.

Does anyone know how to solve these problems?

Thanks,
-F
Have you tried with NMControl, FreeSpeechMe, and/or NamecoinToBind? What domain are you testing with?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

pitbull
Posts: 24
Joined: Wed Oct 23, 2013 4:52 pm
os: linux

Re: OpenNIC not resolving properly & .pe showing old version

Post by pitbull » Thu Oct 09, 2014 8:17 pm

Part of the problem is your vhost config, you should have NoIndex declared to prevent people browsing the directory if the webserver can't find an index to serve. You can also set up a blank catch-all page, name the file 000default or whatever and serve up a blank file when the webserver can't find a matching domain. Any request that your webserver isn't configured for will be served by the first file found in the apache config, so if I visit the ip of your webbrowser, and it isn't defined in apache what to do, it serves the default. Also, if I want to snoop around, I can register a domain such as 123youdontknowme.com and point it to your server IP and achieve the same result. It's not really much of a threat anyway, as long as you don't leave your unencrypted wallet laying around in /var/www.

As for the proxy, it's a proxy so it caches files by default, so it's not going to show the most updated page instantly when you make changes to the original file. Also, bit.pe is down right now, but should be resolved shortly.

FULl
Posts: 27
Joined: Wed Aug 27, 2014 1:59 am
os: windows

Re: OpenNIC not resolving properly & .pe showing old version

Post by FULl » Thu Oct 09, 2014 9:24 pm

I had forgotten about this, apparently I never replied with the solution. It wound up my vhosts file wasn't named correctly. That solved it.

Thanks nevertheless.

Post Reply