Foren

Automatic creation of subdomains for user's page

thumbnail
Corentin R, geändert vor 12 Jahren.

Automatic creation of subdomains for user's page

Junior Member Beiträge: 92 Beitrittsdatum: 18.06.10 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Automatic creation of subdomains for user's page

Liferay Legend Beiträge: 1449 Beitrittsdatum: 10.10.07 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Automatic creation of subdomains for user's page

Junior Member Beiträge: 92 Beitrittsdatum: 18.06.10 Neueste Beiträge
Thanks Thiago, I'll take a closer look at that.
thumbnail
Nguyễn Khắc Rồng, geändert vor 11 Jahren.

RE: Automatic creation of subdomains for user's page

New Member Beiträge: 17 Beitrittsdatum: 12.12.12 Neueste Beiträge
I can not set Virtual Host for "My public page", please show me how to set virtual host for "My public page" emoticon