留言板

Automatic creation of subdomains for user's page

thumbnail
Corentin R,修改在13 年前。

Automatic creation of subdomains for user's page

Junior Member 帖子: 92 加入日期: 10-6-18 最近的帖子
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,修改在13 年前。

RE: Automatic creation of subdomains for user's page

Liferay Legend 帖子: 1449 加入日期: 07-10-10 最近的帖子
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,修改在13 年前。

RE: Automatic creation of subdomains for user's page

Junior Member 帖子: 92 加入日期: 10-6-18 最近的帖子
Thanks Thiago, I'll take a closer look at that.
thumbnail
Nguyễn Khắc Rồng,修改在11 年前。

RE: Automatic creation of subdomains for user's page

New Member 帖子: 17 加入日期: 12-12-12 最近的帖子
I can not set Virtual Host for "My public page", please show me how to set virtual host for "My public page" emoticon