Change url that receives webhook requests to customer url

Dave_mailer

New Member
I am looking to setup multiple Sparkpost accounts and connect them to multiple customer accounts within MW. But I don't want to use my root MW domain for every account.

After setting up the Delivery Server for Sparkpost you get the following url to set for webhooks:

The url where this server expects to receive webhooks requests to process bounces and complaints is: http://(main-MW-install).com/index.php/dswh/40

I would like to set the url in Sparkpost something like this:
http://customer-domain.com/index.php/dswh/40

Can I simply install some files on the customer domain?

Is there a php script I can use to redirect the webhook from the customer domain to the MW root install?

Thank you for helping!
Dave
 
@Dave_mailer - gotcha, in this case, have you tried to access the backend using your customer url rather than the main url, and add the delivery server like that?
 
@twisted1919 The MW code is only installed on the main url. For the customer url I have a cname setup for the tracking domain.
Can I setup another cname on the customer url to catch the Sparkpost webhooks?
 
The MW code is only installed on the main url. For the customer url I have a cname setup for the tracking domain
This means you can access the main mailwizz instance using the cname of your customer. Do it like this and add the delivery server while you are accessing mailwizz via cname ;)
 
Back
Top