Discussion:
Cloaked domain name?
(too old to reply)
cjdunkerley
2009-02-28 13:36:07 UTC
Permalink
Hi,
Is it possible to find out the cloaked domain name is with CF8?

Situation:
www.name_displayed_in_browser.com >>> www.actual_domain_name.com

The CGI variables I have tried return the actual_domain_name.com

Could it be possible with some Javascript on the page load and then maybe pass
that back to CF... any ideas?

Thanks,
fober1
2009-03-05 06:41:31 UTC
Permalink
Am not sure what you mean here.

Multiple domain names can point to the same server, but all of them are equaly "real".

cheers,
fober
cjdunkerley
2009-03-06 11:48:13 UTC
Permalink
It is actually multiple domain names pointing at the same site.

The multiple domains are cloaked/masked so the actual site name does not
appear in the users browser.

Example Situation:

1x sub Agent in Manchester
1x sub Agent in York

Both want easy no maintenance web site provided by "Main Agent".

Sub Agents promote/display their own domain name e.g.
www.agent_in_manchester.com or www.agent_in_york.com

... but all sub agents domains point to just one site. This site loads some
basic Agent specific details (address, email, Agent name, etc.) based on a
passed url parameter from the redirected domain.

I just wanted an easy way to find out what domains were being redirected to
the main site.

Thanks for any suggestions.
Azadi
2009-03-06 13:06:04 UTC
Permalink
not 100% sure if this is what you are talking about, but, iirc, 'domain
forwarding' is an option available in good DNS management control
panels, which, depending on settings, this can forward the request to
another domain without changing the domain name displayed in the address
bar, so that all request to www.agent-in-manchester.com will be
forwarded to www.main-agent.com, but users will still see
"www.agent-in-manchester.com" in their address bar.

hmm... on the second re-read of your post, it seems like this is exactly
what you are doing already... is it?


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
cjdunkerley
2009-03-06 14:22:49 UTC
Permalink
Hi Azadi,

Yes, that is exactly what is happening at the moment.

What I want to do is identify the forwarded domain name:
www.agent-in-manchester.com.

I have tried the CGI variables but they do not have it. I am not sure how
cloaking actually works, is the cloaked domain name ever actually available to
the server?
Azadi
2009-03-06 15:20:56 UTC
Permalink
i do not think it is ever, anywhere, available...

i can't test it on my current setup, and i have never tried it before,
but... i wonder if one could possibly set up domain forwarding with a
url parameter? like forward it to
www.main-agent.com/?somevar=someusniqueid ... not sure if this is at all
possible, or if one could even specify a url parameter when setting up
forwarding, or how and where that url parameter would be added to the
domain... just a thought...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
cjdunkerley
2009-03-06 16:50:33 UTC
Permalink
ok thanks, i was starting to think that.

FYI: yes it is possible to use a url parameter. That is how the users are
currently doing it. The site then uses the url parameter to select user
specific data for display.

I was just hoping to be able to find what domains were being used... I suppose
I could ask the users!

Loading...