Is this possible? accessing apps through yourhda.com

jhall
Posts: 7
Joined: Sat May 30, 2009 12:58 pm

Is this possible? accessing apps through yourhda.com

Postby jhall » Tue Jan 12, 2010 1:46 pm

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Is this possible? accessing apps through yourhda.com

Postby cpg » Tue Jan 12, 2010 10:57 pm

There is a guide for hosting a website in the wiki.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

jhall
Posts: 7
Joined: Sat May 30, 2009 12:58 pm

Re: Is this possible? accessing apps through yourhda.com

Postby jhall » Wed Jan 13, 2010 11:43 am

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Is this possible? accessing apps through yourhda.com

Postby bigfoot65 » Wed Jan 13, 2010 11:53 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jhall
Posts: 7
Joined: Sat May 30, 2009 12:58 pm

Re: Is this possible? accessing apps through yourhda.com

Postby jhall » Wed Jan 13, 2010 12:39 pm

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 :?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Is this possible? accessing apps through yourhda.com

Postby bigfoot65 » Wed Jan 13, 2010 12:44 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jhall
Posts: 7
Joined: Sat May 30, 2009 12:58 pm

Re: Is this possible? accessing apps through yourhda.com

Postby jhall » Wed Jan 13, 2010 1:58 pm

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. :?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Is this possible? accessing apps through yourhda.com

Postby cpg » Wed Jan 13, 2010 5:13 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

jhall
Posts: 7
Joined: Sat May 30, 2009 12:58 pm

Re: Is this possible? accessing apps through yourhda.com

Postby jhall » Thu Jan 14, 2010 9:53 am

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?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Is this possible? accessing apps through yourhda.com

Postby cpg » Thu Jan 14, 2010 11:06 am

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 56 guests