Real-Gecko / virtualmin-nginx-fpm

Virtualmin plugin to create Nginx and PHP-FPM powered websites for domains
GNU General Public License v3.0
24 stars 9 forks source link

Alias Server Support #8

Open sinasalek opened 8 years ago

sinasalek commented 8 years ago

It seems that alias sub server is not supported.

Real-Gecko commented 8 years ago

As far as I can remember there are not much options during domain creation:

sinasalek commented 8 years ago

For the last two options it does not work. PHP-FPM does not appear in list of features for alias server

Real-Gecko commented 8 years ago

Hmm, as far as I understand alias server is just a domain that has one name, that points to another top level domain, like redirecting. So I think there's no point in adding support for this.

sinasalek commented 8 years ago

Yes but it's not a redirect, it's a host that uses the same root folder as its parent. So it needs nginx config all the same

Real-Gecko commented 8 years ago

As far as I remember core Nginx module behaves the same way. Interesting, what's the point of such setup?

sinasalek commented 8 years ago

One example is a multi blog engine like wordpress. you can add alias for different users easily like real-gecko.blogsystem.com. Another example is having multiple domains for the same system. all control panels including cpanel, directadmin support it with under a different names Anyway nginx core module and apache module both support it

kintaro1981 commented 8 years ago

is this supported? do you suggest to use this module or is better to set sub-server manually?

Real-Gecko commented 8 years ago

Nope for now I did not implement this functionality to the module. I'll see what I can do in a few days.