When pressing on links, Site Not Found

Hello All,

KIndly I’m facing an issue with the installing, everything works fine except the emails part which is being configured and send successfully via SendGrid

The problem is that the emails arrive from subdomain url 7684 like this
http://url7684.domain.com/ls/click?upn=WlUc9b3ZSY-2FQR138pDK5oCGrAUKxKCuECdw7q5pr2RF0j1z54jjQktV-2Br8A-2FsWkjHjZv_0ByRj-2BENCC0GOhrThr9RKSWXE6oBjFakp-2BJzqGrA8pdkB-2B1dnwU3asQKBrL8GFKpUfmFzfVv7slv4AP4VKBn-2BYLXxp-2F1-2FnJjJs8ZRr4Oy60GZNWhiOkTwoCRPOAu8ClhFX5QcjoVIx-2BdITQ7rJwdgnRxDv

And when the user clicks on the email, he is faced with

Site Not Found

This request asked for “/ls/click” on host “url7684.domain.com”, but no site is configured which can serve this request.

My website runs Apache, with Php 7 and MySQL
The apache is handling directives and subdomains with server Alias in vhost conf and ssl conf
Like the following
ServerAlias *.domain.com

I cannot figure out the problem and I search for 2 days on the internet for clues but with no luck.

Phabricator does not rewrite links in email.

You can see the raw email that Phabricator hands off to mailers with bin/mail list-outbound and bin/mail show-outbound --id <id>.

I suspect you have configured SendGrid to inject link tracking into the mail.

Thanks alot, really saved me further confusion

Checking the below case with SendGrid tracking, it seems indeed a configuration issue from their side