<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Issue with virtual host alias creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518303#M1934153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;to add an alias name for the default virtual host in SAP API management.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We have created an XML file, called: newvh.xml, with the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VirtualHost name="default"&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;HostAliases&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;HostAlias&amp;gt;&amp;lt;FQDN for the server where router and message processor are installed&amp;lt;/HostAlias&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/HostAliases&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Interfaces/&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Port&amp;gt;9001&amp;lt;/Port&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the command that I run in order to update the alias:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -u &amp;lt;admin user email&amp;gt;:&amp;lt;password&amp;gt; -X PUT &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;management server address:8080/v1/organization/&amp;lt;org name&amp;gt;/environment/&amp;lt;env name&amp;gt;/virtualhosts/default -d’@./newvh.xml -H "Content-Type:application/xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not create the alias for the virtual host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest a solution to get this fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 17:36:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-01-22T17:36:59Z</dc:date>
    <item>
      <title>Issue with virtual host alias creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518303#M1934153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;to add an alias name for the default virtual host in SAP API management.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We have created an XML file, called: newvh.xml, with the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VirtualHost name="default"&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;HostAliases&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;HostAlias&amp;gt;&amp;lt;FQDN for the server where router and message processor are installed&amp;lt;/HostAlias&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/HostAliases&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Interfaces/&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Port&amp;gt;9001&amp;lt;/Port&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the command that I run in order to update the alias:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -u &amp;lt;admin user email&amp;gt;:&amp;lt;password&amp;gt; -X PUT &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;management server address:8080/v1/organization/&amp;lt;org name&amp;gt;/environment/&amp;lt;env name&amp;gt;/virtualhosts/default -d’@./newvh.xml -H "Content-Type:application/xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not create the alias for the virtual host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest a solution to get this fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518303#M1934153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-22T17:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual host alias creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518304#M1934154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question sounds very close to the issue answered here &lt;A __default_attr="3832948" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Deployment / URL Creation for an API Proxy" href="https://community.sap.com/"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="12534" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Suma C V" href="https://community.sap.com/"&gt;&lt;/A&gt; can you assist here again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518304#M1934154</guid>
      <dc:creator>Elijah_Martinez1</dc:creator>
      <dc:date>2016-01-22T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual host alias creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518305#M1934155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geethika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide the output of the below curl command :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -u username:pwd -X GET '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mgmtserverIp:8080/v1/o/"&gt;http://mgmtserverIp:8080/v1/o/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;Org_name&amp;gt;/e/&amp;lt;Env_Name&amp;gt;/virtualhosts/default .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 07:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518305#M1934155</guid>
      <dc:creator>former_member198753</dc:creator>
      <dc:date>2016-01-25T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual host alias creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518306#M1934156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the output - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp; "hostAliases" : [ ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp; "interfaces" : [ ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp; "name" : "default",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp; "port" : "9001"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Geetika&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 18:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518306#M1934156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-25T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual host alias creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518307#M1934157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geetika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you executing these curl commands in Management Server . The steps you followed are correct .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps in management server :&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Delete the existing VH&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl -u userId:password&amp;nbsp; -X DELETE &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/v1/o/"&gt;http://localhost:8080/v1/o/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;Org_name&amp;gt;/e/&amp;lt;testname&amp;gt;/virtualhosts/default -v&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Execute the below command from the location where *.xml is created .&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;curl -u userId:password -X POST &lt;A href="http://localhost:8080/v1/o/%3cOrg_name%3e/e/%3ctestname%3e/virtualhosts/"&gt;http://localhost:8080/v1/o/&amp;lt;Org_name&amp;gt;/e/&amp;lt;testname&amp;gt;/virtualhosts/&lt;/A&gt; -d '@./*.xml' -H "Content-Type:application/xml"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VirtualHost name="default"&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;HostAliases&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;HostAlias&amp;gt;FQDN of Router&amp;lt;/HostAlias&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/HostAliases&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Interfaces/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Port&amp;gt;Enter port details here&amp;lt;/Port&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suma&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 14px; background-color: #fcfcfc;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 14px; background-color: #fcfcfc;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 08:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-virtual-host-alias-creation/m-p/11518307#M1934157</guid>
      <dc:creator>former_member198753</dc:creator>
      <dc:date>2016-01-27T08:00:48Z</dc:date>
    </item>
  </channel>
</rss>

