Help ~ running out of ideas -- Hosting Web Server

vetteengr
Posts: 9
Joined: Fri Nov 12, 2010 6:57 am

Help ~ running out of ideas -- Hosting Web Server

Postby vetteengr » Fri Nov 12, 2010 7:03 am

Hi,
I have Amahi running successfully and can access and share it from all my home computers (both mac and win 7) using http://hda. Amahi is providing the DHCP to my network. I have forwarded port 80, 8080 and even 443 to my hda boxes ip. I still cannot access my server from outside the network by typing http://username.yourhda.com (username is replaced with my usernamet). I can access it inside the network - but I believe it is just getting redirected to hda...
I have run out of ideas and this is driving me crazy :( I would like to share my gallery and Jinzora to family and friends outside my network. I have followed the wiki for hosting a website and still no luck..

Please help.

Thanx

Suresh

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

Re: Help ~ running out of ideas -- Hosting Web Server

Postby bigfoot65 » Fri Nov 12, 2010 9:44 am

Did you update the app .conf files as indicated in the wiki? Also, keep in mind you can only access one app this way on port 80.

The best solution is to use the Amahi Web-Apps Proxy (http://www.amahi.org/apps/amahi-web-apps-proxy. That way you don't have to modify the .conf file and can serve more than one app to the outside. Only thing is it will display all your apps.

Not an easy solution to only serving a few apps outside that I am aware of at this point. If you only do one, then its simple. You might want to use the virtual server feature of your router instead. That's how mine works.
ßîgƒσστ65
Applications Manager

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

vetteengr
Posts: 9
Joined: Fri Nov 12, 2010 6:57 am

Re: Help ~ running out of ideas -- Hosting Web Server

Postby vetteengr » Fri Nov 12, 2010 5:33 pm

Hi,
I have web-proxy installed - no luck - trying to reach my site from outside the network just times out.

again, the problem seems to be that the port is not available? I have tried changing the port to 8080 but still have the same issue - using Dyndns's open port tool, i tried to see if any port is available but they all time out? It seems like I am missing out something in either Samba or Httpd setup? I have the router setup to forward port 80 and 8080 to my hda box. I have tonido on my windows box and that is port 10001 and it seems to be perfectly accessible from outside the network and so, the reason to believe that I am have not done something correctly either in Amahi or Fedora.
I have edited the httpd.conf file to Listen to 8080

Thank you for taking the time to reply. Love the simplicity and feel of Amahi just wish I can make this web access available.

Regards,

Suresh

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

Re: Help ~ running out of ideas -- Hosting Web Server

Postby bigfoot65 » Fri Nov 12, 2010 6:15 pm

There's got to be something else going on...maybe a firewall. This has worked fine on my HDA. I have port 443 forwarded.

Port 80 is the main one to forward for apps. As long as that is done and you have restarted httpd after modifying the .conf files, all should be well.

I presume you restarted the web server, right?
ßîgƒσστ65
Applications Manager

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

vetteengr
Posts: 9
Joined: Fri Nov 12, 2010 6:57 am

Re: Help ~ running out of ideas -- Hosting Web Server

Postby vetteengr » Fri Nov 12, 2010 6:21 pm

Yes,
I have port 80 and port 443 forwarded to my hda box's ip. I have rebooted by hda after i added the Listen 8080 also to the httpd.conf file. I did not change any of the app.conf files since I added the web-proxy app.

The web-proxy app actually caused problems - i cannot access any of the apps from my dashboard now - clicking any app takes me to a the list of users page - cannot access the actually app anymore - i uninstalled web-proxy but the new problem still exists- it takes me to http://hda/hda_app_gallery3 which is just the list of users - typing http://gallery3 doesnt help either... anyways - will work on that issue separately :)

thnx again for your reply.

Regards,

Suresh

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

Re: Help ~ running out of ideas -- Hosting Web Server

Postby bigfoot65 » Fri Nov 12, 2010 6:37 pm

Is your hda the DNS server? That's what it sounds like is your DNS server is not the HDA.
ßîgƒσστ65
Applications Manager

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

vetteengr
Posts: 9
Joined: Fri Nov 12, 2010 6:57 am

Re: Help ~ running out of ideas -- Hosting Web Server

Postby vetteengr » Fri Nov 12, 2010 9:04 pm

Hi,
Yes, i hda is my dhcp provider... can i set the default port to 8080 or a different port? not sure if my isp is blocking port 80. If i can, how do i setup amahi to listen on port 8080 instead of 80?

thnx for the help.

suresh

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Help ~ running out of ideas -- Hosting Web Server

Postby radioz » Sat Nov 13, 2010 12:29 am

DHCP is separate from DNS.

DHCP assigns IP addresses to computers on your network.

DNS provides address lookup information.

Have you configured your hda to provide DNS for your network?

vetteengr
Posts: 9
Joined: Fri Nov 12, 2010 6:57 am

Re: Help ~ running out of ideas -- Hosting Web Server

Postby vetteengr » Sat Nov 13, 2010 12:50 am

Hi radioz,
Yes, i understand the DNS and DHCP are different - I have turned off the DHCP in my netgear router and 'am having amahi provide the DHCP to all the computers on my network.

During my Amahi installation, a dyndns was created by amahi - on my Amahi control panel , I can confirm the presence of the dyndns and its link to my external IP address.

This is driving me crazy :) It almost seems like port 80 is blocked (using the open port tool from Dyndns it says timeout). The httpd.conf shows Listening on port 80.

Regards,

suresh

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Help ~ running out of ideas -- Hosting Web Server

Postby moredruid » Mon Nov 15, 2010 1:29 am

can you run a telnet yourname.yourhda.com 80 from an external system? You should get a prompt. Otherwise you could try a traceroute on those ports, it may be your ISP is blocking incoming requests to those ports (though I think that's not plausible but still). You can also do an nslookup/dig of your hostname from an external host, this should give you DNS/resolving info.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 11 guests