How to pass requested domain to server when behind a CDN

I have a bit of a problem getting our server to know what domain was requested to get to the server.

The scenario is like this.,, and are all pointing to the CDN. The CDN is set up to pull data from one server. Let's name it

Now the problem comes when a customer types That's what they see, which is a good thing. But on the server side, it sees the request as because that's what the CDN requested from it.

I do not see headers that are passed by the CDN like X-FORWARDED-FOR where we can still capture origin information.

Basically, I will need the server to catch which domain the user actually requested from the server side without using Javascript and sending cookies to the server containing requested URL.

Is this possible or am I delusional on trying to get this info "server-side?


Category: domains Time: 2016-07-30 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.199 (s). 12 q(s)