Page 1 of 1

OpenNIC not resolving properly & .pe showing old version

Posted: Sun Sep 14, 2014 4:22 am
by FULl
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

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

Posted: Sun Sep 14, 2014 11:19 pm
by biolizard89
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?

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

Posted: Thu Oct 09, 2014 8:17 pm
by pitbull
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.

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

Posted: Thu Oct 09, 2014 9:24 pm
by FULl
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.