Foros de discusión

Automatic creation of subdomains for user's page

thumbnail
Corentin R, modificado hace 13 años.

Automatic creation of subdomains for user's page

Junior Member Mensajes: 92 Fecha de incorporación: 18/06/10 Mensajes recientes
Hi,

When a new user is added to liferay a public page can be created automatically for him.

If I use wildcard in my dns server do you that it is possible for liferay to create those page in a subdomain like username.myDomain.com using VirtualHost?
Many blogs handle automatic creation of subdomain...

Where should I look in the source of Liferay to implement such a functionnality ?
Or maybe it's already possible by configuration? If it is so how could I do it?

Thanks
thumbnail
Thiago Leão Moreira, modificado hace 13 años.

RE: Automatic creation of subdomains for user's page

Liferay Legend Mensajes: 1449 Fecha de incorporación: 10/10/07 Mensajes recientes
Hi Corentin,

This is not supported OOTB. But you can look at creation process of an User and settings of Virtual Hosts.

Classes: com.liferay.portal.service.impl.UserLocalServiceImpl and com.liferay.portal.service.VirtualHostLocalServiceUtil

Hope this helps
thumbnail
Corentin R, modificado hace 13 años.

RE: Automatic creation of subdomains for user's page

Junior Member Mensajes: 92 Fecha de incorporación: 18/06/10 Mensajes recientes
Thanks Thiago, I'll take a closer look at that.
thumbnail
Nguyễn Khắc Rồng, modificado hace 11 años.

RE: Automatic creation of subdomains for user's page

New Member Mensajes: 17 Fecha de incorporación: 12/12/12 Mensajes recientes
I can not set Virtual Host for "My public page", please show me how to set virtual host for "My public page" emoticon