cancel
Showing results for 
Search instead for 
Did you mean: 

Change SMP hostname

Former Member
0 Kudos

Hello,

I'm tring to install SMP on azure VM, and it it getting its internal hostname .

for example, if my VM has a public name abc.cloudapp.net, it has an internal hostname used inside azure network abc.b1.internal.cloudapp.net

it is working fine and i can access it externally using its public hostname, but when i'm trying to configure internal endpoint from integration gateway SMP try to match endpoint url which has host name abc.cloudapp.net to SMP hostname abc.b1.internal.cloudapp.net and throw error that they are not the same hostname.

so, how can i change SMP server configuration to change its hostname ?

I even tried to install it again but i couldn't find anything about hostname except the notification config.

Thanks,

Hossam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have resolved the problem by adding this two line to hosts file :

  127.0.0.1       ABC.b2.internal.cloudapp.net

  ::1             ABC.b2.internal.cloudapp.net

so the internal name now is defined as localhost

so when I added the integration gateway endpoint using internal host name it pings successfully.

you can find hosts file on windows on this path :

C:\Windows\System32\drivers\etc\hosts

I didn't try to change the hostname and certificate, but I saved your script as I think I may need it later.

Thanks

Hossam

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

I remember i did the same thing sometime back

Former Member
0 Kudos

Hi Jitendra, thanks a lot for your support .

I will give it a try and get back to you.

just have 2 questions before starting this

1 - Is there a way back to this process, can I roll back this if it failed ?

2- Is it all about certificate only ? as I think it should be another thing else contain the configuration of hostname of SMP and need to be changed also !

Thanks

Hossam

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

1 - Is there a way back to this process, can I roll back this if it failed ? >>

Take a backup of smp_keystore.jks file before doing any changes.

2- Is it all about certificate only ? as I think it should be another thing else contain the configuration of hostname of SMP and need to be changed also ! >> I am not sure about any other file. (it worked for me after modification certificate file)

Looping for more inputs.