Page 1 of 1

Accessing app pages without DNS working???

Posted: Tue Mar 02, 2010 3:32 pm
by jtupnsmoke
I finally got my HDA to show up on all computers on my network, so I don't want to mess with any more settings. The only thing that isn't working is DNS. So is there a way to connect to apps, like phpMyBackup, without having dns working, similar to how I can access webmin through 192.168.1.10:10000? Thanks.

Re: Accessing app pages without DNS working???

Posted: Wed Mar 03, 2010 12:31 am
by cpg
there is one app in testing called "web apps-proxy" in beta testing to channel all apps through one url.

what do you mean that dns is broken? if it is, we probably should look into fixing it.

Re: Accessing app pages without DNS working???

Posted: Wed Mar 03, 2010 1:39 pm
by jtupnsmoke
I guess I shouldn't say dns isn't working, but rather I don't have the HDA as my DHCP or DNS server, so all my computers see it, but aren't getting their ip from it or using it as the dns server. I am fine with it that way, but I was just wanting to see if there is a port for every app that I can add to the ip address, like when I access webmin through 192.168.1.10:10000 . I am running 2 linksys wrt54g's with dd-wrt on them. My main one has my Mac and HDA connected to it and the other is set up as a client bridge with my xbox connected. If there is a way to disable dhcp on my main router without affecting my secondary, then I would assume everything would work the way it should.

Re: Accessing app pages without DNS working???

Posted: Wed Mar 03, 2010 2:00 pm
by cpg
it's definitely feasible. we just don't have the time to help you every step of the way here. we're a small team :(

maybe some friend can help you out?

Re: Accessing app pages without DNS working???

Posted: Fri May 07, 2010 5:51 pm
by whittalh
To the OP, not every app has its own port, in fact I'd say most don't. The way apps are accessed is by way of a VirtualHost directive in apache, which is running on your HDA.

If the HDA isn't your DNS server then you can work around this by adding DNS entries to the DNS server that you do use, if possible. I don't know what you have as a router and/or DNS server, but I'm assuming it's something like a Linksys or similar router that's doing DHCP, etc. Some of these will allow you to manually add DNS entries, so for the HDA webapps (Listed on http://hda/setup?sub=webapps&tab=app), all you have to do is create a DNS entry for each one pointing to the IP of your HDA. The HDA will know which webapp you're wanting by way of the URL in your browser and it'll route you to the proper app.

This is how I have it set up, my HDA doesn't do DHCP or DNS for my network but I can still get to my web apps no problem once I manually add them to DNS.

Re: Accessing app pages without DNS working???

Posted: Sat May 08, 2010 5:28 am
by gboudreau
If you can't add the hostnames on the DNS server you're using, you can add them to the hosts files on all the client computers.

In Windows, it's in X:\Windows\system32\drivers\etc\hosts
Open that file in a text editor, and add one line per application:

Code: Select all

hda_ip_address hostname_of_the_app hostname_of_the_app.your_domain
For example:

Code: Select all

192.168.0.2 jinzora jinzora.home.com

Re: Accessing app pages without DNS working???

Posted: Tue May 25, 2010 8:51 am
by bkobb
If you can't add the hostnames on the DNS server you're using, you can add them to the hosts files on all the client computers.
On the Mac, an easy way to do this is with a small utility called Hostal, by Northern Softworks:

http://northernsoftworks.com/hostal.html

I used Hostal to map hda, home.com and [application name].home.com to my Amahi server IP.