Domain redirect

Discussion in 'Apache' started by basiimm, Oct 20, 2011.

  1. #1
    I have a domain say a.com on server A and another domain b.com on server B. My php code resides on public_html of b.com.I want to run the code of b.com but using url a.com on the browser.ie the user enters a.com in the browser but actually it runs b.com and gives the output keeping a.com in the url
    ________________________
    I cannot use url masking methods like frames,htaccess or URL Masking with Page Retrieval (All these methods i found on internet) as I found these are not matching my requirement
    ____________________________

    I am able to edit DNS entry on server A (a.com) like cname point to b.com etc. But I dont know exactly what to do on server A and also in server B to resolve this....Kindly help as this is a road block for me right now.
     
    basiimm, Oct 20, 2011 IP