Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

Issue with virtual host alias creation

$
0
0

Hello,

 

We are trying to to add an alias name for the default virtual host in SAP API management.


We have created an XML file, called: newvh.xml, with the following code

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<VirtualHost name="default">

<HostAliases>

<HostAlias><FQDN for the server where router and message processor are installed</HostAlias>

</HostAliases>

<Interfaces/>

<Port>9001</Port>

</VirtualHost>

 

This is the command that I run in order to update the alias:

 

curl -u <admin user email>:<password> -X PUT http://<management server address:8080/v1/organization/<org name>/environment/<env name>/virtualhosts/default -d’@./newvh.xml -H "Content-Type:application/xml"

 

This does not create the alias for the virtual host.

 

Please suggest a solution to get this fixed.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 2794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>