Page 2 of 3

Re: webserver

Posted: Wed Jan 14, 2009 7:42 am
by pbecks1963
my router/firewall is NON pingable so nobody can ping my external ip-address, could that be the problem?

None of the below url's work:

https://fakenick.yourhda.com
https://123.23.4.5


?

result from https -S (in a terminal on hda):

bash: https: command not found

I am trying to access the webpage on my hda from WAN! (at work)

ps: tried the above with a PINGABLE router but that didn't make any difference... (so my router is set back to unpingable)

Re: webserver

Posted: Wed Jan 14, 2009 2:03 pm
by cpg
my router/firewall is NON pingable so nobody can ping my external ip-address, could that be the problem?
that should not be an issue. many people set up their system to not be pingable. that avoids ping ECHO requests, that's all. everything works.

are you sure you don't want to use the VPN? :)
that's the safest. that or ssh.
None of the below url's work:

https://fakenick.yourhda.com
https://123.23.4.5
learn how to do port forwarding in your router here.

Re: webserver

Posted: Wed Jan 14, 2009 4:13 pm
by jfrenc14
sorry it is 'http -S'

Re: webserver

Posted: Thu Jan 15, 2009 12:40 am
by pbecks1963
Hello cpg,

I already use vpn (works perfect), but even with that (or local on the amahi server) the webpage i made is NOT visable. When i go to http://Mywebpage, i end up in the Amahi Setup page. (the url has changed into: http://hda/hda_app_Mywebpage)

Anyway, i am just sampling amahi (testing various possibilities). The server i used before amahi was FREENAS (and with that system i could easily make a webpage that was visable on the internet) On the other hand: FREENAS doesn't have the pxe-boot-backup possibilities of amahi. (for one thing)

Still love it (and prefer it over) FREENAS though.

Re: webserver

Posted: Thu Jan 15, 2009 12:43 am
by pbecks1963
Hello jfrenc14,

"http -S" ? Where should i put/run this? (not in a DOS-BOX and not in a term, in both it gives an error/unknown command)

Re: webserver

Posted: Thu Jan 15, 2009 2:26 pm
by jfrenc14
Sorry run in the terminal "httpd -S"

Re: webserver

Posted: Thu Jan 15, 2009 2:54 pm
by cpg
i see the problem. your ports are forwarded just fine.

do this (as root):

Code: Select all

rm /etc/httpd/conf.d/01-as.conf
this will take the redirection out. the next thing you need to do is to make sure your app is first.

so, let's assume the config file for your app is called 1004-myapp.conf. in that case, do this (as root):

Code: Select all

cd /etc/httpd/conf.d/ mv 1004-myapp.conf 01-myapp.conf service httpd restart
that should get your app by default!

Re: webserver

Posted: Thu Jan 15, 2009 3:14 pm
by jfrenc14
cpg thats right, Forgot about that

Re: webserver

Posted: Fri Jan 16, 2009 3:56 am
by pbecks1963
I still cant access my webpage externaly (wan) or Internally (lan). When i go to the dashboard and click (at Webapps) on : http://Webpage (that's the name off my first appl) i am redirected to the Amahi Wiki (url is not changed this time: http://Webpage)

Re: webserver

Posted: Fri Jan 16, 2009 4:54 am
by pbecks1963
YES YES YES!!! It works!!!!!!


thnx to you all for helping......