<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Domain aliases how to configure in Liferay?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112445496" />
  <subtitle>Domain aliases how to configure in Liferay?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112445496</id>
  <updated>2026-04-04T13:28:37Z</updated>
  <dc:date>2026-04-04T13:28:37Z</dc:date>
  <entry>
    <title>RE: Domain aliases how to configure in Liferay?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112542145" />
    <author>
      <name>Mark Clarke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112542145</id>
    <updated>2019-03-02T08:36:07Z</updated>
    <published>2019-03-02T08:36:07Z</published>
    <summary type="html">Thanks. Will go that route.</summary>
    <dc:creator>Mark Clarke</dc:creator>
    <dc:date>2019-03-02T08:36:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Domain aliases how to configure in Liferay?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112450686" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112450686</id>
    <updated>2019-02-25T09:05:07Z</updated>
    <published>2019-02-25T09:05:07Z</published>
    <summary type="html">Hi Mark,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not fluent in nginx but with apache I think you would do that with mod_rewrite or mod_proxy. I used to have a liferay server configured as localhost:8080 and the front-end apache took care of rewriting that to whatever public servername was being used. So I think you could do that with several servernames simultaneously.&lt;br /&gt;&lt;br /&gt;HTH.&lt;br /&gt;&lt;br /&gt;Fernando</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2019-02-25T09:05:07Z</dc:date>
  </entry>
  <entry>
    <title>Domain aliases how to configure in Liferay?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112445495" />
    <author>
      <name>Mark Clarke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112445495</id>
    <updated>2019-02-24T05:07:44Z</updated>
    <published>2019-02-24T05:07:44Z</published>
    <summary type="html">Hi there,&lt;br /&gt;&lt;br /&gt;I have read several posts and artilces with people asking about alias domains and can&amp;#39;t find a proper answer. There seems to be some confusion as to why people would want this and if its possible of not. The solutions I saw do not address the problem. Maybe there is no solution and that is ok as long I can find a definiteve answer.&lt;br /&gt;&lt;br /&gt;What we want to do.&lt;br /&gt;&lt;br /&gt;1) We register multiple doman names for a site when required. e.g company.com company.eu company.co.za etc&lt;br /&gt;2) When we create the intial site we need all domain names to point to the same site. (Not instance - a site on an instance),&lt;br /&gt;3) We do not want to use redirect as this will change the URL&lt;br /&gt;4) We want to simple show the site on a different domain&lt;br /&gt;5) I know there is now a canonical tag added to liferay so this takes care of duplicate content issue with google&lt;br /&gt;&lt;br /&gt;The question is how do we add the aliases to the domain since &amp;#34;site settings&amp;#34; has only one input for domain name. We are fronting tomcat with nginx. I can do the alias in nginx but not sure how to tell liferay where to &amp;#34;send&amp;#34; the url. I assume sites are not edited in tomcat&amp;#39;s server.xml but routed via a servlet in liferay.&lt;br /&gt;&lt;br /&gt;Any help appreciated.&lt;br /&gt;&lt;br /&gt;thanks</summary>
    <dc:creator>Mark Clarke</dc:creator>
    <dc:date>2019-02-24T05:07:44Z</dc:date>
  </entry>
</feed>
