Serving content of a subdomain when visiting another domain
I have a sub-domain test.abc.com and it has some content/scripts etc available in its sub-domain root.
I have a client who has domain xyz.com
How can I show content of test.abc.com to someone visiting xyz.com, without him knowing he is actually accessing the sub-domain's content?
-
Hello qtriangle, You can use Domain masking with index page for the domain xyz.com and mask it for test.abc.com. 0 -
Hello, Here is the code I used in the past to cload/mask a url. It uses frames (the only way to actually do this that I'm aware of).
Put the above in index.html (or index.php) and save it in xyz.com public_html folder. Obviously change the "www.domain_to_forward_to.com" to the URL you want to forward to. Hope that helps.0
Please sign in to leave a comment.
Comments
2 comments