Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Error setup Virtual Host - Liferay 7.2
Hello, I would like to setup my virtual host. When i go to site, configuration and settings. I enter my public and private uRL but wheni save I got the following error:
Error: Please enter a unique virtual host. Virtual hosts must be valid domain names.
Has anyone recieved this error?
Thanks
Kevin
Let's start with the obvious:
Do you enter unique host names? They identify which site is addressed by which host, so a virtual host name can only be used once.
Do you enter host names that qualify as valid host names? E.g. typically in DNS notation.
Hi Olaf,
I think do. How do you know if the host name or names are unique?
My hostname is constructed as followis dev-xxx-xxx-1xx.com. The first 3 characters deterimine the environment (development/QA/stage/prod), the second three characters determine location, the next determine name of the application, following the domain.
Kevin
Hi Olaf,
How to determine if my hostnames are unique? Should i check if there somewhere in the portal configuration it has the same name?
My host name is configure of 4 parts as follows: dev-xxx-xxx-xxx.1xx.com . the first part is 3 letters of the environment (dev/qa/test/prod), the second par is location (city), the thrid part is name of the application ad the fourth part is domain group.
Thanks
Kevin
Hi Kevin, you can query your database and check the values in the VirtuaHost table.
Hi Sergio, I do have the virtual hostname in the VirtualHosta table
Mc Version, Host iD companyId LayoutSetId hostname
'1', '20105', '20102', '0', 'dev-xx-xx.xx.com'
But still have the same issue.
I would guess it got populated from somewher
What your thoughts?
Powered by Liferay™