Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : How to create Virtual Hosts in Webuzo



Threaded Mode | Print  

 How to create Virtual Hosts in Webuzo, How to create create virtual hosts in Webuzo for hosting different node applications (5 Replies, Read 16060 times)
vtolenti89
Group: Member
Post Group: Newbie
Posts: 19
Status:
Hello,

this is my first post in here.  :xd:

I am trying to figure out how to host different webapps (nodejs) in my server which is managed via Webuzo.  I am new to that, and my idea was to create different Virtual Hosts for each app.

The main goal at the end is to be able to make API calls like the following:

XXX.XXX.XXX/app1/
XXX.XXX.XXX/app1.staging/
XXX.XXX.XXX/app2/
XXX.XXX.XXX/app2.staging/

And the calls would be redirected to the correct nodejs application

Thus, I have the following questions:

1. Is it the correct approach? One Virtual Host for each webapp / staging?
2. How can you create Virtual Hosts in Webuzo?
3. Do you need to create a subdomain to each Virtual Host?
4. Are the the environment variables set in each Virtual Host accessible by other Virtual Hosts? (I hope not - This is necessary for API Keys which offer a production and a test key)

Thanks in advance
IP: --   

How to create Virtual Hosts in Webuzo
Dhanya
Group: Member
Post Group: Working Member
Posts: 200
Status:
Hi,

>>1. Is it the correct approach? One Virtual Host for each webapp / staging?
Unfortunately, there is no option in Webuzo to create each one host for each webapp/staging. The virtual host code block for running the websites will be added in the default web server virtual host file(i.e webuzoVH.conf).

>>2. How can you create Virtual Hosts in Webuzo?
Unfortunately, there is no option in Webuzo to create each one host for each webapp/staging.

>>3. Do you need to create a subdomain to each Virtual Host?
Unfortunately, there is no option in Webuzo to create each one host for each webapp/staging. Each subdomain when created will be added in the default virtual host file.

>>4. Are the the environment variables set in each Virtual Host accessible by other Virtual Hosts? (I hope not - This is necessary for API Keys which offer a production and a test key)
In Webuzo only default virtual host will be used.

If you want to add any extra code block for your webapp then you may add the code block in a conf file and add the extra conf in the web server you have set default on your server from Webuzo enduser panel -> Extra Configuration page as shown below:
http://www.webuzo.com/docs/endusers/add-extra-configuration-file

Let us know if you have any further queries.
IP: --   

How to create Virtual Hosts in Webuzo
vtolenti89
Group: Member
Post Group: Newbie
Posts: 19
Status:
Thanks for the info.
IP: --   

How to create Virtual Hosts in Webuzo
Dhanya
Group: Member
Post Group: Working Member
Posts: 200
Status:
Hi,

Glad to help you.

Let us know if you face any issues further.
IP: --   

How to create Virtual Hosts in Webuzo
vtolenti89
Group: Member
Post Group: Newbie
Posts: 19
Status:
It is all working fine now.

I managed to configure the reverse proxy.
IP: --   

How to create Virtual Hosts in Webuzo
Dhanya
Group: Member
Post Group: Working Member
Posts: 200
Status:
Hi,

Glad to know that your issue has been resolved.

Let us know if you face any issues further.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 6:49 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025