Picture of Nathan Malone
Redirect localhost to another URL
by Nathan Malone - Sunday, 11 June 2017, 1:56 PM
 

Hi community,

thank you for your fine app. Adapt has some great features for developing courses.

I have 3 issues that needs the community to help us resolve.

1. URL rewrite

We have a client that has Adapt installed and working correctly on a Linux Centos 7 server. The issue they need resolved is to have they URL displays the www.clientwebsite.com:Port#

Client needs www.clientwebsite.com and Adapt log in appears.

When cloning in adapt with git, it creates it own directory. Therefore, Adapt is automatically installed in a subdirectory.

Which configurations can we use to not display the port. We have been trying to use rewrite rules with no success.

2. Run Node sever as system

We would like to have the Node server for Adapt to run as a service and start automatically on reboot or system failure.

Which steps are optimal for Adapt to start the node server using systemd? We have several tutorials but need to be sure of the steps that we will take.

3. Serving Adapt over SSL

We have examine loads of  documentation related to this. Does anyone have a correct version of how Adapt should be served over SSL on a web server?

Thank you and we look forward to hearing from you.

Cheers,

Nathan

Picture of Nathan Malone
Re: Redirect localhost to another URL
by Nathan Malone - Monday, 12 June 2017, 5:06 PM
 

[SOLVED]

Hi Community, 

we have solved 1. properly configure the proxy directives & 3 solved by proxy solution

2 node systemd is almost complete.

If anyone needs assistance how we solved it on the clients server, contact us.

Cheers!

Nathan

Picture of Nathan Malone
Re: Redirect localhost to another URL
by Nathan Malone - Tuesday, 13 June 2017, 3:13 PM
 

Hi Community,

we have solved 2. start Adapt on reboot by using pm2.

 

Thank you.

Cheers,

Nathan

 

Picture of John Niezen
Re: Redirect localhost to another URL
by John Niezen - Wednesday, 14 June 2017, 6:03 AM
 

Thanks for your clarifications how you solved this. It sure does help me with some steps I will need to perform in the future.

John

Picture of Chris Blair
Re: Redirect localhost to another URL
by Chris Blair - Tuesday, 17 October 2017, 8:24 PM
 

I'm trying to setup Adapt on an AWS server so that node starts on boot. Saw where you solved this using PM2 and was wondering if you could share your solution. I've tried setting up a script but can't get it to work. I'm on AWS Ubuntu 16.04. New clean server with Adapt Authoring successfully installed and seeming to run fine.

Thanks

Chris Blair
Magnetic Image, Inc.
Evansville, IN

Picture of Peter van Bussel
Re: Redirect localhost to another URL
by Peter van Bussel - Monday, 4 November 2019, 1:30 PM
 

Hi Nathan,

Can you please explain in detail how you solved 1. and 3. ?

Regards,

Peter

 
 
Picture of Mario G. Almonte
Re: Redirect localhost to another URL
by Mario G. Almonte - Monday, 14 August 2017, 4:15 PM
 

Hi, Nathan.

 

I'm going to install adapt authoring tool on a web domain too. On a centos 7 64 server. Could you tell me which version of nodejs, mongodb, etc. have you installed?

Thanks, and best regards!

Picture of Nathan Malone
Re: Redirect localhost to another URL
by Nathan Malone - Monday, 14 August 2017, 7:17 PM
 

node 4.83

mgDB: 3.0.15

Picture of Mario G. Almonte
Re: Redirect localhost to another URL
by Mario G. Almonte - Monday, 14 August 2017, 7:52 PM
 

Thanks! I'll try them and give you feedback.

Best Regards.