Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Esteban Gould Diez
Virtual Hosting Issue
January 30, 2008 6:19 AM
Answer

Esteban Gould Diez

Rank: New Member

Posts: 2

Join Date: January 30, 2008

Recent Posts

Hi to all,

I've got a handful of communities within the Liferay Portal and I'm trying to set a virtual hosting for one of them (setting the public virtual host as www.domain.com) and when saving the changes an error msg is being shown up, reads: "Please enter a unique virtual host. Virtual hosts must be valid domain names. "

I've double checked all comunities in the Portal and there is no one with such domain as the public virtual host. Already restarted the Application server and looked up in documentation and the problem persists.

Any hel will be greatly appreciated.

Tx,
Esteban
Jorge Ferrer
RE: Virtual Hosting Issue
February 19, 2008 8:43 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2764

Join Date: August 31, 2006

Recent Posts

Hi Esteban,

That message can appear for one of the following reasons:
  1. The domain name you've specified starts with http:// or https://
  2. The domain name has been assigned to another community (look at the group table)
  3. The domain name is assigned to an instance (look at the companies table)


You can also try debugging the execution of LayoutSetLocalServiceImpl.updateVirtualHost(...) to find out more details about the origin of the error.
Olaf Kock
RE: Virtual Hosting Issue
November 24, 2008 7:23 AM
Answer

Olaf Kock

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2719

Join Date: September 23, 2008

Recent Posts

Jorge Ferrer:
You can also try debugging the execution of LayoutSetLocalServiceImpl.updateVirtualHost(...) to find out more details about the origin of the error.


Hi,
As I've been bitten by the same problem, I've just filed an Improvement Request (LPS-698) for some informative error messages from this routine. If there are more people with this problem, you might want to refer to this ticket and see, if there are comments for this ticket available.

Cheers,
Olaf