safcphil Posted September 24, 2013 Posted September 24, 2013 I have a ubunut server running the school website. I had port 80 forwarded to that and all working fine. However Ive since come to install hap on the new curriculum server and have run into problems getting it working. I had folders.schoolname.sch.uk forwarded to the curriculum server but im wondering if since I set up my ubuntu server that this is no longer working. I followed the instructions to intall but even when running local host I just get page not found. This is probably a serperate problem as it should work as localhost. Is it possible to have a seperate website server and still have hap working on the curriculum server? and why am I getting page not found on local host? thanks?
twin--turbo Posted September 24, 2013 Posted September 24, 2013 Do you mean you want your web server and hap server both accessible from the outside world on port 80? on different servers? if so that is not going to work as your port forward on the firewall/router can only forward to one IP. You could use a non standard port for the HAP port forward ( not a bad idea anyway ) say port 81. and port forward that to port 80 on the hap server. is HAP runing on apache? if so run apache2ctl -S to check what sites are set up. Rob
safcphil Posted September 24, 2013 Author Posted September 24, 2013 Do you mean you want your web server and hap server both accessible from the outside world on port 80? on different servers? if so that is not going to work as your port forward on the firewall/router can only forward to one IP. You could use a non standard port for the HAP port forward ( not a bad idea anyway ) say port 81. and port forward that to port 80 on the hap server. is HAP runing on apache? if so run apache2ctl -S to check what sites are set up. Rob no i was under the impression hap used a different port. I cant remember which ports I requested to be forwarded for hap now but im sure it wasnt 80
nickbro Posted September 24, 2013 Posted September 24, 2013 It'll be port 443 as that's the HTTPS port
twin--turbo Posted September 24, 2013 Posted September 24, 2013 So is the webserver still ok? doing the apache2ctl -S will list the ports that a site is listening on, if it's a secure site you will need to specify https as mentioned above and if it's not 443 then that will have to be specified in the request too. Rob
nickbro Posted September 24, 2013 Posted September 24, 2013 @twin--turbo HAP+ requires asp.net which means it needs IIS, thus Windows Server
twin--turbo Posted September 24, 2013 Posted September 24, 2013 @twin--turbo HAP+ requires asp.net which means it needs IIS, thus Windows Server Ahh right, long time since I looked into HAP. My IIS knowledge is not as good as Apache, I assume ( laughs at the thought of microsoft making things easy ) there is some way to list active sites in IIS. Rob
nickbro Posted September 24, 2013 Posted September 24, 2013 Yep, IIS Manager. Right click on the side, and check the bindings to check the ports it's using
twin--turbo Posted September 24, 2013 Posted September 24, 2013 Yep, IIS Manager. Right click on the side, and check the bindings to check the ports it's using Sure for each site, Not a nice quick list though ...
safcphil Posted September 24, 2013 Author Posted September 24, 2013 are the install instructions for a rm cc4 server different to the ones Ive watched on YouTube?
safcphil Posted September 24, 2013 Author Posted September 24, 2013 ok ive got it working but when I browse to the setup page its not formatted properly? page is a mess. what am I missing?
dhicks Posted September 24, 2013 Posted September 24, 2013 Is it possible to have a seperate website server and still have hap working on the curriculum server? You mean have two web servers, both running on standard HTTP / HTTPS ports and available via the same IP address? Yes, you can do this with a reverse proxy: mod_proxy - Apache HTTP Server The above information is for Apache, I'm guessing there might be a way to get IIS to do it or to install a separate, stand-alone service that just does reverse proxying. You could probably also use a bit of dedicated hardware (Raspberry Pi?) as a proxy server, to avoid having to install anything on your existing servers, or just set up a separate virtual machine.
nickbro Posted September 24, 2013 Posted September 24, 2013 IIS extension: Application Request Routing: Application Request Routing Version 2 Overview : The Official Microsoft IIS Site
twin--turbo Posted September 24, 2013 Posted September 24, 2013 I found squid easier to use as a reverse proxy, was still a faf though. Rob
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now