SOLVED

Webhook call to non-www domain

Go to solution
AnkitaV
Level 1

Webhook call to non-www domain

Hi

 

I am configuring a webhook with method type as POST for the below URL's

production: https://www.example.com  

UAT: https://www-uat.example.com  

 

For the prod URL, it is working fine in webhook as well as through POSTMAN

but for the UAT url, it is working fine in POSTMAN but throwing error string as "www-uat.example.com Name or service not known" and no status code

 

Has anyone encountered this kind of issue before? Any suggestions here please to get this resolved?

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook call to non-www domain

If you're behind a corporate firewall (including a VPN) when using Postman, the UAT hostname (www-uat.example.com) may only resolve when using your company's private DNS server, but not when using the public DNS infrastructure used by everybody else.

 

If the hostname isn't public, the UAT webserver may still be available publicly. If it's available publicly, you'll be able to connect to it using its IP address and a manual Host: header in Marketo.

 

Other than that, you should look at the Postman HTTP headers to see if you have some authorization headers that you forgot about.

View solution in original post

3 REPLIES 3
Oz_Platero
Level 6

Re: Webhook call to non-www domain

Hello @AnkitaV ,

 

Do you have actual URLs we can look at?

 

The UAT just looks like a different type of setup for a CNAME.

SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook call to non-www domain

If you're behind a corporate firewall (including a VPN) when using Postman, the UAT hostname (www-uat.example.com) may only resolve when using your company's private DNS server, but not when using the public DNS infrastructure used by everybody else.

 

If the hostname isn't public, the UAT webserver may still be available publicly. If it's available publicly, you'll be able to connect to it using its IP address and a manual Host: header in Marketo.

 

Other than that, you should look at the Postman HTTP headers to see if you have some authorization headers that you forgot about.

AnkitaV
Level 1

Re: Webhook call to non-www domain

Hi Sanford,

 

The HTTP Headers were correct, the issue was around VPN.

Thanks for helping out.