0

It is possible to configure DNS to mirror a URL that points to a URL with a Query string?

In this scenario I want

http://payment.mywebsite.com

to point to

http://paymentprovider.com&querystring

This payment provider uses a query string in the URL to whitelabel their product, providing the 'tailoring' of the branding based on the query string parameter in the URL.

I don't want a redirect. I want the customer to see the original URL when they reach the new page.

4

1 回答 1

1

No. DNS is only responsible for domain names, as its name suggests. It has absolutely nothing to do with URLs.

If you want to mask a URL, a reverse proxy would be a solution. Any time someone sends a request to your proxy A, it internally requests B?foo=bar and returns the response.

于 2013-06-06T06:50:09.677 回答