Skip to main content

Serving content of a subdomain when visiting another domain

Comments

2 comments

  • JasMax
    Hello qtriangle, You can use Domain masking with index page for the domain xyz.com and mask it for test.abc.com.
    0
  • cPanelPeter cPanel Staff
    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.