+ Post New Thread
Results 1 to 15 of 15
Home Access Plus+ Thread, 2 webservers? in Projects:; I have a ubunut server running the school website. I had port 80 forwarded to that and all working fine. ...
  1. #1

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    2 webservers?

    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?

  2. #2

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    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

  3. #3
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Make sure your using https://localhost

  4. #4

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by twin--turbo View Post
    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

  5. #5
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    It'll be port 443 as that's the HTTPS port

  6. #6

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    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

  7. #7
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    @twin--turbo HAP+ requires asp.net which means it needs IIS, thus Windows Server

  8. #8

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Quote Originally Posted by nickbro View Post
    @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

  9. #9
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Yep, IIS Manager. Right click on the side, and check the bindings to check the ports it's using

  10. #10

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Quote Originally Posted by nickbro View Post
    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 ...

  11. #11

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    are the install instructions for a rm cc4 server different to the ones Ive watched on YouTube?

  12. #12

    Join Date
    Feb 2012
    Posts
    49
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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?

  13. #13

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,653
    Thank Post
    1,257
    Thanked 781 Times in 678 Posts
    Rep Power
    236
    Quote Originally Posted by safcphil View Post
    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.

  14. #14
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114

  15. #15

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    I found squid easier to use as a reverse proxy, was still a faf though.

    Rob

SHARE:
+ Post New Thread

Similar Threads

  1. Explosion Takes out our Webserver.
    By ICT_GUY in forum Web Development
    Replies: 12
    Last Post: 4th June 2008, 11:24 AM
  2. Webserver & PHP site advice
    By FN-GM in forum Web Development
    Replies: 17
    Last Post: 2nd December 2007, 12:58 AM
  3. domain name to point to subfolder on webserver.
    By Quackers in forum Wireless Networks
    Replies: 8
    Last Post: 15th August 2007, 12:15 PM
  4. My WebServer Died :'(
    By fooby in forum Hardware
    Replies: 13
    Last Post: 16th February 2006, 12:30 PM
  5. Which Webserver Installation Kit?
    By in forum Web Development
    Replies: 16
    Last Post: 15th November 2005, 10:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •