Page 1 of 2
Is this possible? accessing apps through yourhda.com
Posted: Tue Jan 12, 2010 1:46 pm
by jhall
Hello.
Is it possible to access the apps through either,
1) appname.username.yourhda.com
2) username.yourhda.com/appname
or any other where i may be able to access apps through my web browser, without the VPN being needed?
Thanks in Advance,
Jake
Re: Is this possible? accessing apps through yourhda.com
Posted: Tue Jan 12, 2010 10:57 pm
by cpg
There is a guide for
hosting a website in the wiki.
Re: Is this possible? accessing apps through yourhda.com
Posted: Wed Jan 13, 2010 11:43 am
by jhall
Hi
I tried what was said on the wiki... to no success. I tried to do ServerAlias username.yourhda.com/appname but in entering this in my browser I just end up with the HDA setup page. Am i doing anything wrong?
Re: Is this possible? accessing apps through yourhda.com
Posted: Wed Jan 13, 2010 11:53 am
by bigfoot65
Did you modify the .conf file for each app that you want to access from outside your network? Restarting the web server is important as well.
If you could provide more detail on what you did, we will be able to better understand your issue.
Re: Is this possible? accessing apps through yourhda.com
Posted: Wed Jan 13, 2010 12:39 pm
by jhall
Say for example I wanted to use eyeos outside the network without vpn.
This is the .conf file
<VirtualHost *:80>
ServerName eyeos
ServerAlias eyeos.home.com
ServerAlias myuser.yourhda.com/eyeos
DocumentRoot /var/hda/web-apps/eyeos/html
<Directory "/var/hda/web-apps/eyeos/html">
Options Indexes FollowSymLinks +ExecCGI
AddHandler fcgid-script .fcg
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
have i done this right? because when i enter myuser.yourhda.com/eyeos i just get my hda setup page

Re: Is this possible? accessing apps through yourhda.com
Posted: Wed Jan 13, 2010 12:44 pm
by bigfoot65
Ok, remove the /eyeos in the file, then restart the web server. In your browser, you would enter myuser.yourhda.com/eyeos.
Try that and let us know how it works.
Re: Is this possible? accessing apps through yourhda.com
Posted: Wed Jan 13, 2010 1:58 pm
by jhall
Thanks for your quick reply, however going to myuser.myhda.com/eyeos gets my nowhere, but when i go to myuser.myhda.com it takes me to eyeos, is this right as i was planning on hosting multiple apps. I followed the same process with opengoo to see if that helps, yet it still takes me to eyeos.

Re: Is this possible? accessing apps through yourhda.com
Posted: Wed Jan 13, 2010 5:13 pm
by cpg
we plan to make this easier in the future. perhaps you can help us test that, however, this is not a feature that we can support much, simply because amahi.org does not know what apps you installed and how to make a special name for each automatically.
you could do this with your own domain, though.
Re: Is this possible? accessing apps through yourhda.com
Posted: Thu Jan 14, 2010 9:53 am
by jhall
ahh I see. I would be interested in testing this. However, for the time being, is there a way to use my own domain. I have a old domain I don't use, Would iIjust set up a MX Record to my HDA?
Re: Is this possible? accessing apps through yourhda.com
Posted: Thu Jan 14, 2010 11:06 am
by cpg
not an mx record, no. that is for mail.
you need to add cname records from a subdomain of your domain to your nickname.yourhda.com
then add a server alias for each app with that subdomain of your domain.